stylejs
0.0.6 • Public • Published StyleJS
style.import('url(http://fonts.googleapis.com/css?family=Open+Sans);');
style('div',
'border: 3px solid red;'
);
style('.box',
'background: #ccc;' +
'width: 100px;' +
'height: 100px;'
);
style('#box',
'background: #222;' +
'width: 100px;' +
'height: 100px;' +
style.fix('transform: scale(.5);') +
'color: white;' +
style._font('50px;', '"Open Sans";') +
'text-align: center;' +
'vertical-align: middle;' +
'line-height: 100px;'
);
JSFiddle
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.6
2
Version History
- VersionDownloads (Last 7 Days)
- 0.0.6
2
Package Sidebar
Install
Weekly Downloads