Please take a look at the demo page
Include the Glass assets in your project either as Static Resources
<link rel="stylesheet" href="http:// WEB ADDRESS /glass/0.0.1/styles/glass.min.css" />
<script type="text/javascript" src="http:// WEB ADDRESS /glass/0.0.1/scripts/glass.min.js"></script>
or alternatively, Via Bower
- Run:
bower install --save-dev glass
- Include Sass:
@import 'bower_components/glass/src/styles/glass';
- Include JS:
var glass = require('../../bower_components/glass/src/scripts/glass');
This component relies on other components and you must also include these in your project.
Choose a type of Glass component and copy the relevant html.
Components depends on collaboration between developers. Contributions of any size are actively encouraged.
To see how to build this component locally, read the contribution guidelines.
(To support IE8 please add ployfill to your site)
- IE9 +
- Safari 7 +
- Latest Firefox
- Latest Chrome
- Latest Mobile Safari
- Latest Mobile Chrome