A template tag that creates a style tag with the given content. The content is interpreted as raw CSS code and is not escaped. The es6-string-html VSCode extension can be used to get syntax highlighting for the CSS code.
style
es6-string-html
The raw CSS code.
Rest
A new Tag instance using the style tag.
Tag
css` div { background: #fff; }` Copy
css` div { background: #fff; }`
Generated using TypeDoc
A template tag that creates a
style
tag with the given content. The content is interpreted as raw CSS code and is not escaped. Thees6-string-html
VSCode extension can be used to get syntax highlighting for the CSS code.