3 ms·
There is some stuff that actually makes logical sense, like CSS Specificity, but yes a lot of it is hacky. I mean, negative margins? Clear? Thirty different lin
by nostrebored 10y ago
There is some stuff that actually makes logical sense, like CSS Specificity, but yes a lot of it is hacky. I mean, negative margins? Clear? Thirty different lines of browser-specific rendering tweaks?
WebKit is great, but any attempt to reform the competing browser shitshow reminds me of that xkcd comic about competing standards: https://xkcd.com/927/ https://xkcd.com/927/
(former web developer -- get out while you have your sanity)
- myfonj 10y agoSpeaking of CSS Specificity, even here things are getting complicated. CSS standard states that there are six origin specificity levels [0]. Certain browser engine removed two of them just two years ago [1]. [0] https://www.w3.org/TR/CSS22/cascade.html#cascading-order https://www.w3.org/TR/CSS22/cascade.html#cascading-order (amusingly, they omitted the last and strongest "user agent !important" from the list). [1] https://bugs.chromium.org/p/chromium/issues/detail?id=347016 https://bugs.chromium.org/p/chromium/issues/detail?id=347016
- mirkules 10y agoRather surprised you didn't mention vertical alignment. I mean, this year marks the 20 year anniversary of CSS. 20 fucking years of not having vertical align! (before someone says "flexbox", remember it's still in "working draft" stage)