<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de" -->

---
title: Is it time to stop pre-processing CSS and use...
description: An opinion piece explores whether PostCSS-based post-processing can replace Sass-style pre-processing for writing CSS. It walks through native CSS variables,...
canonical: https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Is it time to stop pre-processing CSS and use post-processing instead? | daily.dev
og:description: An opinion piece explores whether PostCSS-based post-processing can replace Sass-style pre-processing for writing CSS. It walks through native CSS variables,...
og:url: https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de
og:image: https://api.daily.dev/og/posts/9fYE336DE.png
og:image:alt: Is it time to stop pre-processing CSS and use post-processing instead?
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Is it time to stop pre-processing CSS and use post-processing instead?

**[utilitybend](https://daily.dev/sources/utilitybend)** · 8 min read · 0 upvotes · 0 comments

## Summary

An opinion piece explores whether PostCSS-based post-processing can replace Sass-style pre-processing for writing CSS. It walks through native CSS variables, the W3C draft for CSS nesting, and a PostCSS setup using postcss-preset-env, postcss-import, PurgeCSS, CSSNANO, and a media-query sorter. The author argues future CSS features increasingly cover what Sass used to provide, but concludes a hybrid approach combining Sass and PostCSS is still the most practical choice, especially for larger teams.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://utilitybend.com/blog/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead>

## Questions this post answers

### Can I use native CSS variables instead of Sass variables now?

Yes, native CSS custom properties can replace most Sass variable use cases, including colors, fonts, and measurement units. The one gap is array-style variables and custom media query variables, which remain a W3C working draft feature rather than a finalized native CSS capability.

_Developers weighing native CSS features against Sass can track these evolving specs on daily.dev._

### How do I get CSS nesting to work with PostCSS today?

Nesting can be enabled through postcss-preset-env by setting stage 3 and turning on the nesting-rules feature, alongside postcss-import for file imports and custom-media-queries for media query variables. The syntax differs slightly from Sass nesting, requiring an explicit '&' selector before nested elements like '& h1'.

_Anyone configuring a PostCSS pipeline can compare setup approaches shared by other developers on daily.dev._

### What PostCSS plugins help replicate Sass-like features without using Sass?

PurgeCSS removes unused CSS by scanning HTML, JS, and template files for class names in use, CSSNANO minifies the final output, and postcss-sort-media-queries combines and reorders media queries to reduce file size, especially useful when nesting is enabled.

_Teams deciding between Sass and a plugin-based PostCSS setup can find comparisons like this on daily.dev._

## Similar posts on daily.dev

- [A history of styling choices leading to native CSS](https://daily.dev/posts/a-history-of-styling-choices-leading-to-native-css-vl9qwhhjt) · Cassidy's blog · 25 upvotes · 3 comments
- [Goodbye SASS](https://daily.dev/posts/goodbye-sass-lf9vddw6q) · Lobsters · 44 upvotes · 5 comments
- [How to Leverage PurgeCSS in Your Rails App for Faster Stylesheets - FastRuby.io](https://daily.dev/posts/how-to-leverage-purgecss-in-your-rails-app-for-faster-stylesheets---fastruby-io-i5zhqhutk) · RUBYLAND · 0 upvotes · 0 comments
- [Thoughts on Native CSS Mixins – Frontend Masters Blog](https://daily.dev/posts/thoughts-on-native-css-mixins-frontend-masters-blog-wvt8d5ikq) · Frontend Masters · 11 upvotes · 0 comments
- [CSS-in-JS: The Great Betrayal of Frontend Sanity](https://daily.dev/posts/css-in-js-the-great-betrayal-of-frontend-sanity-yltrsmn2c) · The New Stack · 0 upvotes · 0 comments

---

Tags: [#css](https://daily.dev/tags/css)

[View this post on daily.dev](https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Is it time to stop pre-processing CSS and use post-processing instead?","url":"https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de"},"datePublished":"2026-09-20T07:43:35.794Z","dateModified":"2026-09-20T07:44:47.858Z","description":"An opinion piece explores whether PostCSS-based post-processing can replace Sass-style pre-processing for writing CSS. It walks through native CSS variables,...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/91e29d996777e1f30de78eb1e64544c7?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/91e29d996777e1f30de78eb1e64544c7?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"utilitybend","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"utilitybend","logo":"https://media.daily.dev/image/upload/s--hONVFSz4--/f_auto,q_auto/v1789890196/logos/utilitybend?_a=BAMAMicg0","url":"https://daily.dev/sources/utilitybend"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"css","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"utilitybend","item":"https://daily.dev/sources/utilitybend"},{"@type":"ListItem","position":3,"name":"Is it time to stop pre-processing CSS and use post-processing instead?"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/is-it-time-to-stop-pre-processing-css-and-use-post-processing-instead--9fye336de#faq","mainEntity":[{"@type":"Question","name":"Can I use native CSS variables instead of Sass variables now?","acceptedAnswer":{"@type":"Answer","text":"Yes, native CSS custom properties can replace most Sass variable use cases, including colors, fonts, and measurement units. The one gap is array-style variables and custom media query variables, which remain a W3C working draft feature rather than a finalized native CSS capability. Developers weighing native CSS features against Sass can track these evolving specs on daily.dev."}},{"@type":"Question","name":"How do I get CSS nesting to work with PostCSS today?","acceptedAnswer":{"@type":"Answer","text":"Nesting can be enabled through postcss-preset-env by setting stage 3 and turning on the nesting-rules feature, alongside postcss-import for file imports and custom-media-queries for media query variables. The syntax differs slightly from Sass nesting, requiring an explicit '\u0026' selector before nested elements like '\u0026 h1'. Anyone configuring a PostCSS pipeline can compare setup approaches shared by other developers on daily.dev."}},{"@type":"Question","name":"What PostCSS plugins help replicate Sass-like features without using Sass?","acceptedAnswer":{"@type":"Answer","text":"PurgeCSS removes unused CSS by scanning HTML, JS, and template files for class names in use, CSSNANO minifies the final output, and postcss-sort-media-queries combines and reorders media queries to reduce file size, especially useful when nesting is enabled. Teams deciding between Sass and a plugin-based PostCSS setup can find comparisons like this on daily.dev."}}]}
```

