Stylesheet 0.9
Details
- Author
- Anton Samoylov
- Current version
- 0.9
- GitHub
- creaven/stylesheet
- Downloads
- 1782
- Category
- Native
- Tags
- Report
- GitHub Issues
How to use
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
Discuss
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