News for hackers. Stuff that matters.
Re:CSS sucks because we don't bother learning it (2022) by throwawayffffas on Monday January 05, 2026 @01:38PM (#46502785)
While that's true. They could have gone another way without breaking the dependency rules.

Padding top and bottom could be relative to parent height and padding left and right could be relative to parent width. They would not be the same. But it would still make sense. It would arguably be more logical than the selected behavior.

But the specific example does not even invalidate my point there is a whole website about css quirky behaviors and how to use them to your advantage, https://css-tricks.com/.

There are no comments on this comment yet.