create-style
v1.1.9
Published
Creates style element with the css inserted to him and ready to put into the document
Maintainers
Readme
createStyle
Creates style element with the css inserted to him and ready to put into the document
Usage: createStyle(css: string): HTMLStyleElement
import { createStyle } from 'create-style'
document.head.appendChild(createStyle(`
.my-element{
color: red;
}
`))This module exported from utilizes project.
