Yahoo released Pure.CSS in mid 2013, a basic structure for the development of front ends. It is considered a good Bootstrap alternative but can also be used in combination with the Twitter framework. Pure is based on the Scalable and Modular Architecture for CSS (SMACSS), which ensures that recurring elements such as tables, buttons, or forms are separated from the basic design (font, layout, etc.) and have their own conventions. In the Yahoo framework, each module has a default class name with the prefix 'pure' for the regular design as well as additional class names for specific rules that apply to sub modules. In Pure.CSS, you can integrate a form containing everything and then specify the default class name 'pure-form' and the sub-class name 'pure-form-stacked'.
The front end framework, which can be downloaded in a responsive and non-responsive version, contains the following six modules, which are approximately 4 KB in compressed, zipped form (16 KB when unzipped):
- Base (base-min.css): framework basis including rules
- Grids (grids-responsive-min.css): flexible, responsive grid system
- Forms (forms-min.css/forms-nr-min.css): forms
- Buttons (buttons-min.css): different buttons
- Tables (tables-min.css): tables
- Menus (menus-min.css/menus-nr-min.css): menus
All modules are built on the open source stylesheet Normalize.css, just like Bootstrap components and many other CSS frameworks. This stylesheet replaces the default styles of HTML elements through optimized, cross-browser styles. Compared to Twitter’s front end framework, however, the Yahoo equivalent doesn’t contain any JavaScript applications, even if you can integrate them on your own. Pure.CSS is more than just a finished front end, which needs to be adapted to your own needs, but also a starting point for your project and is therefore associated with much greater freedom.
Yahoo hosts the framework on its own free Content Delivery Network (CDN) (Yahoo CDN), so that you can integrate it into the <head> section of your project with a simple link. You can, of course, download Pure.CSS and host it yourself. The current link to the CDN as well as the download files can be found on the official website purecss.io.