Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I don’t use css frameworks, create your own! start with a good reset then build from their. I have a bunch of snippets that I’ve built up over time. Every css file contains only the styles for that particular site i am working on. so responsive breakpoints are easy to configure and adjust. Its much quicker than using convoluted frameworks. Plus pre-processors are dead. Variables in css is the way to go now.
-
Entirely depends on your criteria, but...
If you only need modern browser support, ask yourself if you really *need* a CSS framework. Modern vanilla CSS supports a whole bunch of things that make it perfectly usable for most tasks - a choice of sane layouts like grid / subgrid, flexbox, etc., custom properties, and so on.
Granted, if you really feel the need for nesting and things like that, you'll need to pick a framework - and I have nothing *against* them per-se. It just feels like everyone these days rushes to pick one without really considering if they need to. -
Root797344yI just write my own. 🤷🏻♀️
Some things are difficult, but most of it is pretty trivial. -
Use tailwind if you must pick one. Otherwise raw CSS works wonders. Maybe get a bit of SASS to handle imports and mixins just to make things a tad bit tidier.
-
Crazy so many votes for Tailwind... (I voted for it too lol)
It's kind of a complete misunderstanding of how css classes should work but it somehow looks like it makes sense? I'd definitely give it a go -
C0D4669444y@12bitfloat @3rdWorldPoison
Maybe there's something I'm missing, but how is tailwind worth the effort when there's 10+ classes per element to assign? -
@C0D4 Ironically that's literally their selling point. The so-called OO-CSS.
Tbh it's either between bootstrap or tailwind. Depends entirely on what suits your palette.
I generally pick tailwind due to its granular control over existing ruleset.
Also, I've seen it provide a bit more readability.
It's a tad bit smaller as well (which hardly makes a difference imo).
Related Rants
Unpopular opinion.
devRant needs a poll feature :D
im starting a new project, and currently deciding on the css framework to pick. kinda sick of injecting bootstrap into everything and reworking it, time for a new toy.
so... Whats your preferred CSS Framework?
poll: https://linkto.run/p/WGJRHYK7
for the privacy conscious among us, feel free to comment below.
question
we need polls dfox
css
next framework
poll
show me what you got
and the winner is....?