1.1.9 • Published 3 years ago

create-style v1.1.9

Weekly downloads
2
License
MIT
Repository
github
Last release
3 years ago

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.

1.1.9

3 years ago

1.1.8

5 years ago

1.1.6

5 years ago

1.1.4

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.11

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago