Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

PurifyCSS
PurifyCSS

9
15
+ 1
0
Sass
Sass

11.4K
7.6K
+ 1
3K
Add tool

PurifyCSS vs Sass: What are the differences?

Developers describe PurifyCSS as "Remove unused CSS. Also works with single-page apps". Remove unused CSS. Also works with single-page apps. On the other hand, Sass is detailed as "Syntactically Awesome Style Sheets". Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.

PurifyCSS and Sass belong to "CSS Pre-processors / Extensions" category of the tech stack.

PurifyCSS and Sass are both open source tools. Sass with 12K GitHub stars and 1.93K forks on GitHub appears to be more popular than PurifyCSS with 9.11K GitHub stars and 383 GitHub forks.

What is PurifyCSS?

Remove unused CSS. Also works with single-page apps.

What is Sass?

Sass is an extension of CSS3, adding nested rules, variables, mixins, selector inheritance, and more. It's translated to well-formatted, standard CSS using the command line tool or a web-framework plugin.
Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Why do developers choose PurifyCSS?
Why do developers choose Sass?
    Be the first to leave a pro

    Sign up to add, upvote and see more prosMake informed product decisions

      Be the first to leave a con
        Be the first to leave a con
        What companies use PurifyCSS?
        What companies use Sass?

        Sign up to get full access to all the companiesMake informed product decisions

        What tools integrate with PurifyCSS?
        What tools integrate with Sass?
          No integrations found

          Sign up to get full access to all the tool integrationsMake informed product decisions

          What are some alternatives to PurifyCSS and Sass?
          Animate.css
          It is a bunch of cool, fun, and cross-browser animations for you to use in your projects. Great for emphasis, home pages, sliders, and general just-add-water-awesomeness.
          Less
          Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable.
          PostCSS
          PostCSS is a tool for transforming CSS with JS plugins. These plugins can support variables and mixins, transpile future CSS syntax, inline images, and more.
          Stylus
          Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style.
          Compass
          The compass core framework is a design-agnostic framework that provides common code that would otherwise be duplicated across other frameworks and extensions.
          See all alternatives
          Decisions about PurifyCSS and Sass
          Koa
          Koa
          React Router
          React Router
          Foundation
          Foundation
          Semantic UI
          Semantic UI
          Bootstrap
          Bootstrap
          PostCSS
          PostCSS
          Less
          Less
          Sass
          Sass
          styled-components
          styled-components
          React Helmet
          React Helmet
          Webpack
          Webpack
          TypeScript
          TypeScript
          JavaScript
          JavaScript
          Apollo
          Apollo
          GraphQL
          GraphQL
          React
          React
          #JSX
          #React.
          #Css
          #StyledComponents.
          #Async
          #HTML
          #GraphQL
          #Apollo

          ReactQL is a React + GraphQL front-end starter kit. #JSX is a natural way to think about building UI, and it renders to pure #HTML in the browser and on the server, making it trivial to build server-rendered Single Page Apps. GraphQL via Apollo was chosen for the data layer; #GraphQL makes it simple to request just the data your app needs, and #Apollo takes care of communicating with your API (written in any language; doesn't have to be JavaScript!), caching, and rendering to #React.

          ReactQL is written in TypeScript to provide full types/Intellisense, and pick up hard-to-diagnose goofs that might later show up at runtime. React makes heavy use of Webpack 4 to handle transforming your code to an optimised client-side bundle, and in throws back just enough code needed for the initial render, while seamlessly handling import statements asynchronously as needed, making the payload your user downloads ultimately much smaller than trying to do it by hand.

          React Helmet was chosen to handle <head> content, because it works universally, making it easy to throw back the correct <title> and other tags on the initial render, as well as inject new tags for subsequent client-side views.

          styled-components, Sass, Less and PostCSS were added to give developers a choice of whether to build styles purely in React / JavaScript, or whether to defer to a #css #preprocessor. This is especially useful for interop with UI frameworks like Bootstrap, Semantic UI, Foundation, etc - ReactQL lets you mix and match #css and renders to both a static .css file during bundling as well as generates per-page <style> tags when using #StyledComponents.

          React Router handles routing, because it works both on the server and in the client. ReactQL customises it further by capturing non-200 responses on the server, redirecting or throwing back custom 404 pages as needed.

          Koa is the web server that handles all incoming HTTP requests, because it's fast (TTFB < 5ms, even after fully rendering React), and its natively #async, making it easy to async/await inside routes and middleware.

          See more
          Hampton Catlin
          Hampton Catlin
          VP of Engineering at Rent The Runway | 4 upvotes 59.6K views
          atRent the RunwayRent the Runway
          styled-components
          styled-components
          PostCSS
          PostCSS
          Sass
          Sass

          We use Sass because I invented it! No, that's not a joke at all! Well, let me explain. So, we used Sass before I started at Rent the Runway because it's the de-facto industry standard for pre-compiled and pre-processed CSS. We do also use PostCSS for stuff like vendor prefixing and various transformations, but Sass (specifically SCSS) is the main developer-focused language for describing our styling. Some internal apps use styled-components and @Aphrodite, but our main website is allllll Sassy. Oh, but the non-joking part is the inventing part. /shrug

          See more
          Interest over time
          Reviews of PurifyCSS and Sass
          No reviews found
          How developers use PurifyCSS and Sass
          Avatar of Kevin Ard
          Kevin Ard uses SassSass

          It was a little awkward building BS3 with LESS, and the rest of the site with SCSS, but it works. SCSS made building the UI elements (ink/flip buttons, img navs, etc) a breeze. It also drives the mobile menu open/close transitions - that would have been much too much with vanilla css.

          Avatar of Climate CoLab
          Climate CoLab uses SassSass

          Sass helps us write better stylesheets. One major improvement over CSS that we use a lot is variables - it allows for much easier theming to quickly change brand colors for new instances of the xCoLab.

          Avatar of Ujjwal Bhujel
          Ujjwal Bhujel uses SassSass

          When you realise that countless lines of CSS codes could be made countable. And off course, a wonderful and cool way to use the logic behind variables and nesting. Simply love it.

          Avatar of Scrayos UG (haftungsbeschr盲nkt)
          Scrayos UG (haftungsbeschr盲nkt) uses SassSass

          Sass is used as a part of Woltlab Suite Core, which offers to submit/configure own styles via the injection of own Sass-CSS. So we exclusively rely on Sass for our CSS needs.

          Avatar of Refractal
          Refractal uses SassSass

          CSS is a mess. There, we said it. Sass, on the other hand takes CSS and makes it pretty, easy to work with and has stuff like variables which make things seriously awesome.

          How much does PurifyCSS cost?
          How much does Sass cost?
          Pricing unavailable
          Pricing unavailable
          News about PurifyCSS
          More news