|
|
|
Ask HN: For simple layouts, do I need CSS Flex or Grid?
|
|
2 points
by swidi
1318 days ago
|
|
For a simple one-dimensional blog layout (header -> navigation -> content -> footer), do I need to use these new CSS APIs? Will CSS's default behaviour continue to work in the future, or are all sites expected to use these new systems? |
|
Here is a simple example without styling:
https://jsfiddle.net/3g71hLf0/2/
And with some styling:
https://jsfiddle.net/3g71hLf0/1/