3 ms·
I will never like CSS and cannot share any fond memories of it's development. Modern CSS is bearable with features like Flexbox and Grid, but CSS will never be
by open-source-ux 5y ago
I will never like CSS and cannot share any fond memories of it's development.
Modern CSS is bearable with features like Flexbox and Grid, but CSS will never be able to hide how inelegant, clunky and sprawling it is. You could write an entire book on CSS 'gotchas' - from specificity to box-sizing to inheritance. The list of topics is endless.
There are also dozens of different ways of writing CSS (by design) which is why you never see two or more people write it in the same way.
Why did a "style sheet" language incorporate animation into its already bloated feature set? (Not convinced by the argument that animation = appearance and thus fits into the scope of CSS.)
It's a bit ironic that modern CSS features let you finally drop horrible CSS hacks from the past like floats. And yet, developers are not taking advantage of modern CSS features like Grid (which greatly simplifies layout). CSS frameworks often don't take advantage of these modern features either.
In fact, modern CSS makes it easier to write plain CSS without the use of a CSS framework. But is there anyone left who isn't using a framework?
- oneeyedpigeon 5y agoFloats were never a 'hack'. There were hacks that used floats to achieve layouts they weren't intended for. But the flowing of text around a floated element was a required tool that floats enabled.
- blacktriangle 5y agoDevs will catchup with the whole we don't need frameworks thing, but it'll take a few years. I'm not going to go and rip the frameworks out of my existing apps just because I don't need them now, that doesn't really generate any value. It's like jQuery, it was easily 5 years between when we no longer needed it and when we finally started dropping it.
- brailsafe 5y agoI don't know why you're not convinced about animation = appearance, but I do agree about frameworks. I've never used one enough, partly because I immediately found they sucked for replacing anything I could much more easily do manually, such as grid.