+ 1
What is flexbox in HTML?? Please describe it with code....
4 Respostas
+ 9
play a bit with this
might give you a better idea
https://code.sololearn.com/Wqwc2gEQ7sR7/?ref=app
+ 3
Those are two modern ways in css to create a responsive website layout - position your content, align its items, and adjust them to screen size.
Flexbox is a horizontal layout while css grid is two dimensional.
Purpose of Flexbox:
Before flexbox people used column and row classes to position page content (like in Bootstrap 3). The issue with that was item alignment, spacing, responsiveness etc. inside and between columns. All that is solved with flexbox with very little css. (The dreaded vertical align was a problem with many hack solutions before flexbox.) The new bootatrap 4 uses flexbox now.
+ 1
Thanks Mohit the coder..
+ 1
Sameer Kumar Saha
https://code.sololearn.com/WN99S5Wrkn8V/?ref=app
here is the code sorry for delay