What's always been "weird" to you about #CSS? As in, how something works? Less intuitive aspects? Stuff that trips you up even though you "know" how it works?
This is not a gripe thread, I'm looking for constructive input, thanks!
@5t3ph I've thought of another. When styling <ul> or <ol> lists, I'm never sure whether the margin, padding and list-style defaults are on the parent list or the list item children.
@5t3ph Sometimes I am poking around devtools and I can't figure out where a margin, padding, or an element width is coming from - and I use devtools all the time. (Sorry, if I could be more specific it wouldn't be so weird.)
@5t3ph mix-blend-mode and background-blend-mode is inscrutable magic as far as I can understand it. Other people do amazing things with them, but it never works when I try!
@5t3ph The way a background on the <body> can automatically propagate to the Root element. And the background on a Root element becomes the Canvas background. Because both the <body> and :root may not be the height of the viewport.
I get it, but it's still, after 25 years, a bit weird.
Add comment