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

Compass

354
297
+ 1
12
Less

2.5K
1.2K
+ 1
930
Add tool

Compass vs Less: What are the differences?

Developers describe Compass as "A Stylesheet Authoring Environment that makes your website design simpler to implement and easier to maintain". The compass core framework is a design-agnostic framework that provides common code that would otherwise be duplicated across other frameworks and extensions. On the other hand, Less is detailed as "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.

Compass and Less can be primarily classified as "CSS Pre-processors / Extensions" tools.

"No vendor prefix CSS pain" is the primary reason why developers consider Compass over the competitors, whereas "Better than css" was stated as the key factor in picking Less.

Compass and Less are both open source tools. It seems that Less with 16.1K GitHub stars and 3.45K forks on GitHub has more adoption than Compass with 6.91K GitHub stars and 1.23K GitHub forks.

According to the StackShare community, Less has a broader approval, being mentioned in 498 company stacks & 169 developers stacks; compared to Compass, which is listed in 88 company stacks and 42 developer stacks.

Decisions about Compass and Less
Cory Bell

JSS is makes a lot of sense when styling React components and styled-components is a really nice implementation of JSS. I still get to write pure CSS, but in a more componentized way. With CSS post-processors like SASS and LESS, you spend a lot of time deciding where your .scss or .less files belong, which classes should be shared, and generally fighting the component nature of React. With styled-components, you get the best of CSS and React. In this project, I have ZERO CSS files or global CSS classes and I leverage mixins quite a bit.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Compass
Pros of Less
  • 9
    No vendor prefix CSS pain
  • 1
    Mixins
  • 1
    Variables
  • 1
    Compass sprites
  • 215
    Better than css
  • 177
    Variables
  • 141
    Mixins
  • 99
    Maintainable
  • 79
    Used by bootstrap
  • 55
    Open source
  • 50
    Extendable
  • 43
    Functions
  • 39
    Dynamic
  • 30
    Fast
  • 2
    CSS is valid LESS, very easy to pick up

Sign up to add or upvote prosMake informed product decisions

What is Compass?

The compass core framework is a design-agnostic framework that provides common code that would otherwise be duplicated across other frameworks and extensions.

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.

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

What companies use Compass?
What companies use Less?
Manage your open source components, licenses, and vulnerabilities
Learn More

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

What tools integrate with Compass?
What tools integrate with Less?

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

Blog Posts

JavaScriptGitHubNode.js+26
20
5048
What are some alternatives to Compass and Less?
Cherokee
Cherokee is highly efficient, extremely lightweight and provides rock solid stability. Among its many features there is one that deserves special credit: a user friendly interface called cherokee-admin that is provided for a no-hassle configuration of every single feature of the server.
Protractor
Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
See all alternatives