Re:State of CSS
by shadowfoxx on Friday October 21, 2022 @12:31PM
(#33289898)
Hey there, I thought about this for a little bit because I find table layouts more pain than they are worth and the secret sauce that's missing from the examples above is nesting!
Just like Tables have <table> and then <tr> - your div's need a similar parent-child relationship to work.
Just like Tables have <table> and then <tr> - your div's need a similar parent-child relationship to work.
Here's a working fiddle: https://jsfiddle.net/0389jsca/