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 are the three types of css?

0 Answers  


What is the purpose of px measurement unit?

0 Answers  


How do you collapse margins in css?

0 Answers  


Explain the meaning of graceful degradation in reference to css.

0 Answers  


Explain the difference between responsive website coding and mobile-first strategy coding.

1 Answers  






What is latest version of css?

0 Answers  


How you will create rounded corners using css3?

0 Answers  


What is latest javascript version?

0 Answers  


What is cascading communication?

0 Answers  


How do I center text vertically in css?

0 Answers  


How do I get a div on top of another?

0 Answers  


How does css work under the hood?

0 Answers  


Categories