+ 1

What is flexbox?

Guys flexbox isnt explained in solo learn. So pls explain it

28th Jan 2020, 7:03 PM
Sajid
Sajid - avatar
8 Answers
+ 6
Flexbox is a method of elements alignment and scaling along two axes: the main axis and secondary axis. Previously inline-block display property, floats and table tags were used for the purpose.
28th Jan 2020, 7:12 PM
SergeiRom
+ 6
sajid chowdhury table tags are <table>, <tbody>, <thead>, <tr>, <th> and <td>. They are probably told about here. But nowadays they are used for tables with some data primarily, not for layouting as a long ago. I guess grids or flexboxes are used to make layouts today. There is a nice flexbox tutorial here https://flexboxfroggy.com/
29th Jan 2020, 4:21 AM
SergeiRom
+ 4
sajid chowdhury Yes, I would recommend to learn grids. I see no similarity between gradients and grids. They have different purposes. Grids are about making a page layout, and gradients are about making backgrounds. There is a similar practical visual tutorial about grids too https://cssgridgarden.com/ But it does not explain everything about grids, it seems that they left out named grid items - https://www.w3schools.com/cssref/pr_grid-template-areas.asp
29th Jan 2020, 8:22 AM
SergeiRom
+ 1
Sergei Romanov do i have to learn table tags? They are also not here
28th Jan 2020, 7:22 PM
Sajid
Sajid - avatar
+ 1
Sergei Romanov thanks and do i have to learn grids? Are grids similar to gradients?
29th Jan 2020, 7:27 AM
Sajid
Sajid - avatar
+ 1
Sergei Romanov ok thanks a lot
29th Jan 2020, 9:24 AM
Sajid
Sajid - avatar
- 1
sajid chowdhury grids are not similar to gradients
29th Jan 2020, 9:41 PM
Jome Favourite
Jome Favourite - avatar