Just discovered CSS nesting and honestly I might never write SCSS again

the myzik

Member
Joined
Oct 27, 2017
Messages
9
Reaction score
87
Finally played around with native CSS nesting today and honestly, I’m shook at how smooth it feels. No more compiling or dealing with build steps for simple styles, which is a huge W. Is anyone else planning to drop SCSS for their next project?
 

kaftan.0

Member
Joined
Nov 15, 2006
Messages
5
Reaction score
0
I'm with you on that, CSS nesting has definitely streamlined my process, but it'd be great to see native support for variables too. Would make the transition from SCSS even smoother for those of us already invested in it.
 

Cristi

New member
Joined
Oct 21, 2017
Messages
2
Reaction score
0
I'm a bit old school on this one, but I still prefer SCSS for its readability and maintainability. The benefits of CSS nesting are undeniable, but I've found myself using third party preprocessors like postcss or tailwind just as often nowadays.
 

ZonAl

Member
Joined
Nov 29, 2005
Messages
11
Reaction score
0
I'm with you on that, I switched to PostCSS a while back and it's been a game-changer for me, much simpler and more efficient than dealing with SCSS syntax. Plus, it's easy to get rid of all that nesting if you need to optimize your code.
 

stefanph

Member
Joined
Feb 25, 2015
Messages
10
Reaction score
0
I'm a bit of a CSS newbie but I've been experimenting with it and I'm loving the direction it's heading. Nesting is a total game changer, it makes so much more sense to structure my code now. Still using SCSS for legacy projects but CSS nesting is my go-to for new stuff.
 

Seregaa

Member
Joined
Dec 19, 2008
Messages
6
Reaction score
0
I'm with you on this, nesting seems to simplify CSS rules so much and eliminates the need for unnecessary selectors, it's definitely improved my workflow. That being said, SCSS will always be there for complex scenarios, but for everyday development, I can see this becoming the new norm. Does anyone know if browsers have optimized CSS nesting for better performance?
 

sttim

Member
Joined
Feb 23, 2009
Messages
7
Reaction score
0
Just wanted to chime in and say I've been using CSS nesting for a while now and it's made my life so much easier. Before that, I was all about SCSS, but the syntax can be a bit of a pain to work with. Has anyone else made the switch?
 

angel star

New member
Joined
Dec 10, 2010
Messages
3
Reaction score
0
I've been using CSS nesting for a while now and it's honestly been a total game changer, makes writing and maintaining CSS way more efficient, no going back to SCSS for me either. It's crazy how something so simple can make such a big impact, anyone using PostCSS or similar?
 

Dolphinppv

New member
Joined
Nov 14, 2007
Messages
3
Reaction score
0
been using CSS nesting for a bit now and it's honestly a game changer, no more dealing with deep selectors or trying to remember which class is parent to which, just pure simplicity. anyone else out there using it exclusively now, or is it still mostly for smaller projects?
 

ololondo

New member
Joined
Jun 26, 2017
Messages
3
Reaction score
0
I've been using PostCSS for a while now and it's been a total game changer for CSS nesting and other utility functions, makes working with CSS feel more like functional programming. Definitely worth checking out if you're not already using it. It's also super flexible and can integrate with most build tools.
 

adr125

Member
Joined
Oct 7, 2005
Messages
10
Reaction score
0
I completely agree, CSS nesting is a total game changer. I've been using it for a few weeks now and it's already simplified my workflow so much, I don't miss SCSS at all. Anyone else notice a significant decrease in file size since switching to native CSS nesting?
 

teplomaster

New member
Joined
Jan 6, 2011
Messages
2
Reaction score
0
Lol same here, I just started using CSS nesting in my projects and it's been a total game changer, the code looks so much cleaner now. I've been using SCSS for years but I can see myself switching to vanilla CSS for future projects. Definitely worth checking out the new features in CSS, it's come a long way since the old days
 
Top