Difference between CSS grid vs flexbox?

Answer Posted / hrpynux@gmail.com

Grid and flexbox. The basic difference between CSS Grid Layout and CSS Flexbox Layout is that flexbox was designed for layout in one dimension - either a row or a column. Grid was designed for two-dimensional layout - rows, and columns at the same time.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can a div have multiple classes?

303


What is the return type of prompt box?

304


What is css autoprefixer?

317


Can you write css3 code to create shadow effect?

300


What is css (cascading style sheets)?

304






What is the purpose of ex measurement unit?

318


What is grouping ?

347


What is the purpose of the z-index? Explain with the help of an example.

281


Which property is used to set the color of a text?

289


What are the different modules used in the current version of css?

360


What are the types of style sheets?

282


How can you create multi columns in css3?

281


What is default z index?

303


What is cascade?

297


What is a block element in css?

308