Get Advice Icon

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

Less
Less

1.6K
930
+ 1
925
PostCSS
PostCSS

362
281
+ 1
46
Add tool

Less vs PostCSS: What are the differences?

Less: The dynamic stylesheet language. 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: Transform CSS with JS plugins. 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.

Less and PostCSS can be categorized as "CSS Pre-processors / Extensions" tools.

"Better than css" is the top reason why over 213 developers like Less, while over 17 developers mention "The "babel" of CSS" as the leading cause for choosing PostCSS.

Less and PostCSS are both open source tools. PostCSS with 21.1K GitHub stars and 1.15K forks on GitHub appears to be more popular than Less with 16.1K GitHub stars and 3.45K GitHub forks.

Movielala, Weebly, and Webedia are some of the popular companies that use Less, whereas PostCSS is used by Twilio SendGrid, Open Humans, and Rainist. Less has a broader approval, being mentioned in 498 company stacks & 169 developers stacks; compared to PostCSS, which is listed in 63 company stacks and 47 developer stacks.

What is 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.

What is 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.
Get Advice Icon

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

Why do developers choose Less?
Why do developers choose PostCSS?

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 Less?
      What companies use PostCSS?

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

      What tools integrate with Less?
      What tools integrate with PostCSS?

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

      What are some alternatives to Less and PostCSS?
      CSS 3
      CSS3 is the latest evolution of the Cascading Style Sheets language and aims at extending CSS2.1. It brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts. Experimental parts are vendor-prefixed and should either be avoided in production environments, or used with extreme caution as both their syntax and semantics can change in the future.
      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.
      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.
      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 Less and PostCSS
      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 60K 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 Less and PostCSS
      Review ofLessLess

      Absolutely fantastic, not only does it allow for modularity but it is armed with the most useful features like colour operations and nested styles to make you achive more by writing LESS.

      How developers use Less and PostCSS
      Avatar of Mick Dekkers
      Mick Dekkers uses PostCSSPostCSS

      PostCSS essentially allows you to set up your own CSS preprocessor with the features that matter to you. It has a modular plugin-based architecture, which means that if someone comes up with a useful new feature, you can easily add it to your stack as a PostCSS plugin. PreCSS and PostCSS-cssnext are some of my go-to plugins.

      Avatar of Tim Lucas
      Tim Lucas uses PostCSSPostCSS

      PostCSS handles compiling node-based CSS libraries, including BassCSS (the whole site is only ~85 lines of custom CSS). It also does auto-vendor-prefixing and support for CSS variables.

      Avatar of papaver
      papaver uses LessLess

      love me some less. been less styling for around 3 years. makes working with bootstrap and responsive website a breeze. so much power in the language.

      Avatar of Romans Malinovskis
      Romans Malinovskis uses LessLess
      Avatar of Giovanni Candido da Silva
      Giovanni Candido da Silva uses LessLess

      Customise the UIkit Front-End Framework, because of that is used to create the application CSS. I prefer SASS but is equivalent.

      Avatar of Thibault Maekelbergh
      Thibault Maekelbergh uses PostCSSPostCSS

      We wrote a lot of flexbox and css that needed prefixing. PostCSS + Webpack was the best option here.

      Avatar of BrizTech Ltd.
      BrizTech Ltd. uses LessLess

      CSS Preprocessor, used primarily for variables to ensure brand colour continuity.

      Avatar of CodeBee
      CodeBee uses LessLess

      We use Less to organize our CSS code with imports, variables, mixins, and more.

      Avatar of Virtually(Creative)
      Virtually(Creative) uses PostCSSPostCSS

      Used to minify and extend the CSS markup of the framework.

      Avatar of BookAuthority
      BookAuthority uses PostCSSPostCSS

      We use PostCSS to improve cross-browser compatibility

      How much does Less cost?
      How much does PostCSS cost?
      Pricing unavailable
      Pricing unavailable
      News about Less
      More news
      News about PostCSS
      More news