Get Advice Icon

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

Less
Less

1.6K
933
+ 1
925
Stylus
Stylus

327
235
+ 1
326
Add tool

Less vs Stylus: 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; Stylus: Expressive, robust, feature-rich CSS language built for nodejs. 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.

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

"Better than css" is the primary reason why developers consider Less over the competitors, whereas "Simple" was stated as the key factor in picking Stylus.

Less is an open source tool with 16K GitHub stars and 3.46K GitHub forks. Here's a link to Less's open source repository on GitHub.

According to the StackShare community, Less has a broader approval, being mentioned in 496 company stacks & 168 developers stacks; compared to Stylus, which is listed in 69 company stacks and 45 developer stacks.

- No public GitHub repository available -

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

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

Why do developers choose Less?
Why do developers choose Stylus?

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
      Jobs that mention Less and Stylus as a desired skillset
      What companies use Less?
      What companies use Stylus?

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

      What tools integrate with Less?
      What tools integrate with Stylus?
      What are some alternatives to Less and Stylus?
      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.
      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.
      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 Stylus
      React
      React
      GraphQL
      GraphQL
      Apollo
      Apollo
      JavaScript
      JavaScript
      TypeScript
      TypeScript
      Webpack
      Webpack
      React Helmet
      React Helmet
      styled-components
      styled-components
      Sass
      Sass
      Less
      Less
      PostCSS
      PostCSS
      Bootstrap
      Bootstrap
      Semantic UI
      Semantic UI
      Foundation
      Foundation
      React Router
      React Router
      Koa
      Koa
      #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
      Interest over time
      Reviews of Less and Stylus
      Review ofStylusStylus

      One of the main reasons I use it is that it combines most of what I like but is spread across other preprocessors.

      The option to make functions that take places of properties is amazing. ie. border-radius: "child" $parent-radius can actually be calling a function like border-radius("child", $parent-radius) where using border-radius: 4px would just implement the standard expected result.

      Add in my favorite selector: `^[-1..-1] to get the last raw selector in a nested situation. (its like magic in combination with BEM naming syntax)

      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 Stylus
      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 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 LapNghiep
      LapNghiep uses StylusStylus

      Accompanied with ReactJS code

      Avatar of Thomas Hunsaker
      Thomas Hunsaker uses StylusStylus

      I hate CSS.

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