AI websites that design themselves

Join the evolution

Become a founding member

Client-side

Installation

If you download via Bower:

$ bower install gss

Use the following:

<script src="/bower_components/gss/dist/gss.js"></script>
<script type="text/javascript">
  window.engine = new GSS(document);
</script>

Otherwise, download version 2.0.0 or clone the github repo.

CDN

Get GSS from our CDN:

https://s3-us-west-2.amazonaws.com/cdn.thegrid.io/gss/v2.0.0/v2.0.0/gss.js

Minify version

https://s3-us-west-2.amazonaws.com/cdn.thegrid.io/gss/v2.0.0/v2.0.0/gss.min.js

Usage

To load your .gss stylesheets, just add type=text/gss:

<link rel="stylesheet/gss" type="text/gss" href="my-awesome-styles.gss"></link>

Likewise, inline GSS works with a simple type="text/gss":

<style type="text/gss">

  /* Your GSS */

</style>
privacy policy