/document

Grid Style Sheets engine for HTML pages

Primary LanguageJavaScriptMIT LicenseMIT

GSS engine Build Status

Cross-browser testing status

GSS is an implementation of Badros & Borning's Constraint Cascading Style Sheets.

It consists of three projects:

  • Engine - orchestrates multiple Cassowary.js solvers. Usable without browser.
  • Document - Integrates Engine with DOM. Use this on web pages.
  • Parser - Converts GSS stylesheets to expression tree. Can be preprocessed

GSS supports the following syntaxes for defining layout rules:

Please refer to http://gridstylesheets.org/ for documentation and usage instructions.