Re:They Say: Do Not Use Margins in CSS. How I Use Them Anyway
by 10x-dev on Friday January 14, 2022 @08:40PM
(#29942766)
This css selector looks like it would be slow, which, if true, would be one reason not to use it.
[ Parent
| on HN ]
Re:They Say: Do Not Use Margins in CSS. How I Use Them Anyway
by gherkinnn on Saturday January 15, 2022 @12:49AM
(#29943922)
The difference in selector speed is negligible. Choosing minimal perf gains over greatly improved ergonomics is pain.
It was last an issue with IE7 and 8 [0], an era we don’t like to talk about.
0 - https://web.archive.org/web/20130508170505/https://developer...
Re:They Say: Do Not Use Margins in CSS. How I Use Them Anyway
by eurasiantiger on Saturday January 15, 2022 @02:55AM
(#29944613)
Did you just call eliminating quadratic behaviour a negligible gain in the context of graphics rendering?
I’m pretty sure you’re wrong there.