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

Bourbon

130
115
+ 1
20
Compass

354
297
+ 1
12
Add tool

Bourbon vs Compass: What are the differences?

Key differences between Bourbon and Compass

  1. Mixin Library: Bourbon provides a set of mixins that focus on handling CSS3 properties and other commonly used styles, allowing developers to easily apply these styles to their projects. On the other hand, Compass offers a more comprehensive library of mixins that includes a wide range of useful functions, utilities, and CSS resets. This makes Compass a more extensive and versatile tool for CSS development.

  2. Dependency Management: Bourbon does not have any dependencies and can be used independently. It does not require any other frameworks or libraries to function properly. In contrast, Compass relies on Sass, which is a CSS preprocessor. Therefore, Compass requires the installation and setup of Sass in order to be utilized effectively.

  3. Supported Features: Bourbon focuses mainly on CSS3-related features, providing mixins for properties like animation, background, border, and box-shadow. Compass, on the other hand, offers a wider range of features beyond CSS3, such as CSS sprites, grids, typography, and image processing. Compass provides more comprehensive tools to handle various aspects of web development.

  4. Community Support: Bourbon has a smaller community compared to Compass. While Bourbon does have a community of developers who use and contribute to its development, the community support for Compass is much larger and more active. This means that developers using Compass can benefit from a larger pool of resources, tutorials, plugins, and community support.

  5. Customizability: Bourbon encourages developers to write custom CSS based on their specific needs and preferences. It focuses on a minimalistic approach by providing a smaller set of mixins that cover the most commonly used styles. On the other hand, Compass offers a broader range of mixins and components that cater to different design and development scenarios. This makes Compass more suitable for projects that require more specific and customized styles.

  6. Browser Support: Bourbon aims to support all modern browsers and does not focus extensively on ensuring compatibility with older or less commonly used browsers. Compass, on the other hand, provides more comprehensive browser support with built-in features like CSS3 prefix handling and vendor-specific mixins. This makes Compass a better choice for projects that require broader browser compatibility.

In Summary, while Bourbon provides a focused set of CSS3 mixins and minimalistic approach, Compass offers a more extensive library of mixins, better browser support, and a larger community for comprehensive web development.

Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Bourbon
Pros of Compass
  • 14
    Simple mixins
  • 3
    Lightweight
  • 3
    No javascript
  • 9
    No vendor prefix CSS pain
  • 1
    Mixins
  • 1
    Variables
  • 1
    Compass sprites

Sign up to add or upvote prosMake informed product decisions

What is Bourbon?

Bourbon is a library of pure sass mixins that are designed to be simple and easy to use. No configuration required. The mixins aim to be as vanilla as possible, meaning they should be as close to the original CSS syntax as possible.

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.

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

What companies use Bourbon?
What companies use Compass?
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 Bourbon?
What tools integrate with Compass?
What are some alternatives to Bourbon and Compass?
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.
HTML5
HTML5 is a core technology markup language of the Internet used for structuring and presenting content for the World Wide Web. As of October 2014 this is the final and complete fifth revision of the HTML standard of the World Wide Web Consortium (W3C). The previous version, HTML 4, was standardised in 1997.
PHP
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.
See all alternatives