3 ms·
CSS is very extremely well-specified in how it draws stuff, and if you use it within its bounds, it's very good at doing what it set out to accomplish. That is,
by Jasper_ 13y ago
CSS is very extremely well-specified in how it draws stuff, and if you use it within its bounds, it's very good at doing what it set out to accomplish. That is, as a way to style content. It was not designed as a "draw a triangle" language, and I'm sure the original people behind the CSS standard would never have thought of exploiting the bevel effect to draw a triangle.
I don't understand the attitude of "well, you're using CSS outside the bounds of what it was designed for, that means that CSS is ad-hoc garbage", nor the attitude of "well, you're exploiting CSS in a clever way, that means you're a terrible engineer".
It's a clever hack in the truest sense of the word, and that makes me proud.
- jerrya 13y agoThe first five years of CSS articles were: "How I got two columns in CSS" and "How I ditched tables for two columns in CSS". This does not make me think of CSS as a well specified standard to be used to style content in a manner needed by the web.
- Jasper_ 13y agoLayout is a very different problem than styling. I think it's an absolute shame we're now just getting sophisticated layout management, but the styling has been around for a while, and it works fine.