README
dom-style
Inline CSS manipulation library
var style = require('dom-style')
style(document.body, 'background-color', 'red')
style(document.body, {
'font-color': 'yellow',
'border': '5px solid black'
})
Install
$ npm install dom-style
Inline CSS manipulation library
<script type="module">
import domStyle from 'https://cdn.skypack.dev/dom-style';
</script>
Inline CSS manipulation library
var style = require('dom-style')
style(document.body, 'background-color', 'red')
style(document.body, {
'font-color': 'yellow',
'border': '5px solid black'
})
$ npm install dom-style