var sheet = new Stylesheet();
sheet.addRules({
'div.test': {
width: 100,
height: 100,
background: 'red'
},
'html, body': {
width: '100%',
height: '100%'
},
'*': {
margin: 0,
padding: 0
}
});
methods: addRule, addRules, getRule, getRules, removeRule
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus