3 ms·
Yeah, this has been my experience too. Sometimes I think there is some big idea behind CSS layout logic (not the actual cascading, that one is pretty clear) th
by shp0ngle 6y ago
Yeah, this has been my experience too.
Sometimes I think there is some big idea behind CSS layout logic (not the actual cascading, that one is pretty clear) that I am missing, but maybe not.
- jfengel 6y agoYeah, I feel the same way. "Surely, surely it can't be this bad." Yeah, it is. The closest thing I can give you to a pointer is this: https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_Block https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_... https://developer.mozilla.org/en-US/docs/Web/CSS/position https://developer.mozilla.org/en-US/docs/Web/CSS/position It's kinda vaguely rigorous and authoritative, and explains some of the more bewildering and arbitrary concepts. I don't actually understand these pages: every time I have a CSS problem I go reread them, and then go back to poking randomly until it looks nice. But maybe they'll help you.
- shp0ngle 6y agoThanks, that is exactly what I have been looking for. Yeah it seems all pretty random and without ryme or reason, but I guess that's the best I can get