0

Which One Flexbox or Float for Grid CSS

If you create a site whene it show grid for content, which one you want to use? is flexbox or float? Tell your reason ^_^

6th Nov 2019, 1:38 AM
Fajar Sodik
Fajar Sodik - avatar
3 Respuestas
+ 1
for grid layout you want to use display: grid; CSS has grid now -> https://www.w3schools.com/css/css_grid.asp
6th Nov 2019, 6:48 AM
Jakob Meier
Jakob Meier - avatar
0
I know bro, but which you want to use if just float or flexbox
6th Nov 2019, 6:59 AM
Fajar Sodik
Fajar Sodik - avatar
0
I personally would use flex, becaause I've got more experience using it and used it to create a grid layout before I knew of grid. Also I think float is for left/right aligning elements
6th Nov 2019, 1:31 PM
Jakob Meier
Jakob Meier - avatar