Define a two column layout using flexbox ?



Define a two column layout using flexbox ?..

Answer / hrpynux@gmail.com

To create a two-column layout, first we create a <div> element with property display: flex, it makes that a div flexbox and then add flex-direction: row, to make the layout column-wise. Then add the required div inside the above div with require width and they all will come as columns.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CSS Cascading Style Sheets Interview Questions

What is float in css for?

0 Answers  


Why do we use padding?

0 Answers  


What is div in html?

0 Answers  


Is css3 backwards compatible?

0 Answers  


How to use ids to override classes in css?

0 Answers  






Why is css needed?

0 Answers  


What is a wrapper div?

0 Answers  


What is css hanging-punctuation property?

0 Answers  


How do you use flex in css3?

0 Answers  


What do you understand by W3C?

0 Answers  


What is the use of hsl()?

0 Answers  


What is a css selector selenium?

0 Answers  


Categories