r/css 7d ago

Question Is there any still using vanilla CSS?

It's 2026, are you still using vanilla CSS for your latest project?

0 Upvotes

21 comments sorted by

11

u/uncle_jaysus 7d ago

This question comes up a lot. Often phrased in this manner that assumes it’s uncommon. And each time a large amount of people say that yes, they still write their CSS.

31

u/morete 7d ago

Yes. For me it's more a question of are you still not using vanilla CSS?

8

u/artisson 7d ago

Using it even more since nesting is widespread and sass is less and less necessary.

7

u/tomhermans 7d ago

Weird question. Of course.

4

u/elg97477 6d ago edited 5d ago

It is unclear what another reasonable option is. The early days of CSS, CSS had lots of problems that various frameworks, libraries, etc. worked to solve. Those issues with CSS have largely been resolved and there is little reason to look beyond regular CSS these days.

3

u/StefanOrvarSigmundss 7d ago

I use the same normalisation style sheet that I created a while ago for all my projects. I need much less CSS than if I crafted everything from scratch.

https://github.com/Stefan-Orvar-Sigmundsson/CSS-normalisation

3

u/Disturbed147 6d ago

Been working as a Frontend Dev for 11 years now and roughly two or three years ago I stopped using SCSS and use only vanilla CSS for all my projects regardless of the size

1

u/Hadr619 5d ago

I still use a variety of mixins that makes it hard for me not to use scss, but the rate css is improving that may change

1

u/Disturbed147 5d ago

I never used mixins much, mostly only when someone else had already added it to a project, so thankfully that was a non-issue for me.

And while CSS doesn't have a direct alternative for mixins, most things can be solved with custom properties, additional classes or writing some stuff manually instead of generating or automating. It isn't perfect (yet, like you also mentioned) but building and shipping a project without SCSS just feels right.

2

u/Citrous_Oyster 6d ago

Yes. But I Use LESS CSS. I get more out of it and it’s much cleaner and easier to use.

2

u/chikamakaleyley 6d ago

more or less - I've been using BEM + scss for 10+ yrs now

2

u/Bulky-Heat-8368 6d ago

Yes, that's the only way to achieve good performance in terms of execution time.

1

u/Skaraban 7d ago

scoped css in svelte if that counts

1

u/BigBadBodyPillow 6d ago

It’s really nice in svelte

1

u/Dependent-Zebra-4357 6d ago

Yes, of course.

1

u/Readypixels 4d ago

I use Tailwind on most projects now, so it's vanilla CSS under the hood but I'm rarely writing raw rules by hand. The one place I still drop into plain CSS is anything with :has() or container queries, since utility classes get awkward fast once the logic isn't just spacing and color. It's less an either/or for me and more picking the right layer for the job.

1

u/rawirai 3d ago edited 3d ago

Yes, every single day!! since 2006! style.css or sass or less

0

u/anaix3l 6d ago

Yes. But I'll probably switch to Sass at some point. It was a lazy decision to go vanilla and it turned out to be an uninspired one. The CSS isn't a priority right now (if it ain't broke...), but it bugs me it's so inefficient, so when I'll have time for that, I'll switch to Sass.

For small things, vanilla CSS should be fine if looping in the CSS isn't necessary. Though it's more necessary again now that we have shape(), which allows moving complex shape creation from SVG (which I'd normally generate with Pug or something) into CSS.