Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Is PostCSS the future of CSS Preprocessors?

I just learned about PostCSS and was blown away. My first thought was stop focusing on sass and transition to PostCSS. Google and Twitter are using it right now. Bootstrap is going to migrate to PostCSS from Less.

It can do much more than what's possible with sass for example. And it's faster by design.

I am about to start a new project and wonder if I should use PostCSS now to make it more future proof.

2 Answers

You could spend a lot of time focusing on whatever is the next big thing, so be careful you don't go running down a rabbit hole and missing out on learning the basics.

I think you can learn a lot by doing Sass, but obviously learning more CSS in general is the best way to future-proof yourself.

As for your new project, it may depend on who else will be seeing/modifying your code in future. Sass is by far the most popular preprocessor so it's usually not much of a stretch to assume another developer will have at least some knowledge of it.

I can't quite remember much about PostCSS, but I think most CSS preprocessors allow you to write regular CSS anyways.

If you're interested in seeing PostCSS content on Treehouse, you can suggest it on the Treehouse CSS Content Roadmap on Trello

Wow thank you.