Gridless is an awesome HTML5 and CSS3 boilerplate for making responsive, cross-browser websites with beautiful typography
Switch branches/tags
Nothing to show
Pull request Compare This branch is 69 commits behind frankpf:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Gridless is an HTML5 and CSS3, one web boilerplate to help you make progressively-enhanced, mobile first responsive websites/webapps that have beautiful typography with a vertical rhythm, sensible styles and are HTML5-ready and cross-browser compatible.

Gridless is simple and isn't littered with pre-defined non-semantic silly classes or pre-made grid systems.

Main features

  • Responsive (responds to the user's device screen width with the correct content and CSS)
  • Progressive enhancement, mobile first
  • Cross-browser compatible (even IE6 and 7)
  • CSS normalization instead of CSS reset
  • A vertical rhythm
  • Print styles optimized for performance
  • Optimal caching
  • HTML5 and CSS3 ready
  • Safe CSS hacks instead of conditional classnames/stylesheets
  • [Micro clearfix hack] clearfix
  • A well-organized folder structure


Major components:

Everything else:

Folder structure

  • index.html: The HTML page with the initial markup
  • _/ (folder): The folder that includes all the assets
    • css/ (folder): The folder that includes all the CSS files
      • main.css: The main CSS file with basic styles and media queries
    • fonts/ (empty folder): The folder where your webfonts reside
    • img/ (empty folder): The folder where your images reside
    • js/ (folder): The folder that includes all the JavaScript files
      • respond.min.js: Respond.js, which is a polyfill for media queries on older browsers


Eric Meyer, Scott Jehl, Jeremy Keith, Ethan Marcotte, Oliver Reichenstein, Wilson Miner, Bryan Rieger, Paul Irish, Harry Roberts, Nicolas Gallagher, Mathias Bynens, Luke Wroblewski, Kroc Camen, Chris Coyier, Richard Rutter, Remy Sharp and many others.


Why the name Gridless?

Because Gridless is ...well, gridless. It doesn't have any grid systems. The problem with most other CSS frameworks is that they include grid systems with presentational classes and/or ids without any semantic. Classes and ids should be unique to each project and shouldn't be declared on pre-made documents. CSS grid systems should be used for rapid prototyping (which they're awesome at), not for production.

Browser support

Gridless was tested in the following browsers: Mozilla Firefox 3.6+ Opera 11+ Google Chrome 11+ Safari 5+ Internet Explorer 6+

Although some of these browsers are very recent, Gridless should work in any modern browser without problems.


If you'd like to contribute to Gridless, visit and send a pull request or an issue. You can also fork the project or clone it. Do anything, it's open-source!