easy to get into trouble for sure.
You must log in or register to comment.
It’s really not, though. This is only true if you’re bad at CSS, which basically can be said about anything.
flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about
display
andposition
and how they affect other attributes. And the box model… wow. margin, border, padding, content, but he attribute isbox-sizing
and it has border-box and content-box, but not the others.IINM it was written by people who came from print media (just like HTML) and that stuck.