Menu

A List of CSS Style Guides for Inspiration

Creating a set of CSS conventions — often called a CSS style guide — can streamline your web development workflow. It’s useful for large teams and solo developers alike.

CSS style guides are a group of documents that outline the coding style, best practices, and visual design properties (e.g. colors, layout grid dimensions, etc.) of a site. The goal of having a style guide is to maintain consistency across a product.

If you’re in the process of creating a CSS style guide, or if you want to learn about the CSS practices that large-scale websites use, check out the following list of style guides.

1. GitHub’s CSS Styleguide

GitHub's CSS Styleguide

GitHub’s CSS style guide covers everything from code-indentation style and when to use line breaks all the way to the company’s brand colors.

2. WordPress CSS Coding Standards

WordPress CSS Coding Standards

WordPress’s CSS coding standards outlines things such as how to organize CSS properties, how to group media queries, its CSS best practices, and more.

3. Google HTML/CSS Style Guide

Google HTML/CSS Style Guide

Google’s HTML and CSS style guide is comprehensive but written in a succinct manner, which makes it easy to use as a reference.

4. Bootstrap CSS Code Guide

Bootstrap CSS Code Guide

The CSS style guide of Bootstrap follows Code Guide by @mdo, which is a set of HTML and CSS guidelines developed by Mark Otto, Bootstrap’s co-creator.

5. Lonely Planet CSS

Lonely Planet CSS

Lonely Planet has CSS coding conventions documented at the site’s online style guide (called Rizzo).

6. ThinkUp’s CSS Code Style Guide

ThinkUp's CSS Code Style Guide

ThinkUp, a social media analytics app, has a CSS coding style guide which they have published on GitHub. The guide outlines the company’s basic CSS conventions, such as indentation style, class- and id-naming style, and more.

7. Mapbox’s CSS and Styling

Mapbox's CSS and Styling

Mapbox, a web-based tool for creating interactive maps, has a public style guide that documents the app’s CSS. The style guide documents coding style, how the grid system works, the website’s color property values, and so forth.

Further Reading

If you’re interested in developing a CSS style guide, the following resources will point you in the right direction.

Related Content

About the Author

Jacob Gube is the founder of Six Revisions. He’s a front-end web developer by profession. If you’d like to connect with him, head on over to the contact page or follow him on Twitter: @sixrevisions.

This was published on Sep 26, 2014

1 Comments

Michelle Rivero Oct 09 2014

Having a CSS style guide is very important. I think that this list allows people to improve their skills in CSS and learn more about CSS. good post.

This comment section is closed. Please contact us if you have important new information about this post.

Partners