# css

    .css content:{String} -> Node

Content copied to clipboard

Creates a `<style>` HTML element with the provided CSS content. The content is wrapped in a `<style>` tag and rendered as-is, without any additional processing or escaping, as long as the rendering target supports HTML.

Each CSS property value automatically has `!important` applied to it, unless it already has it.

    .css
      body {
        background-color: green;
      }

Content copied to clipboard

#### Return

a new Html node representing the style element

#### Parameters

content

- Likely a body argument

raw CSS content to inject

#### See also

cssProperties

for a more structured way to override CSS properties.

#### Throws

com.quarkdown.core.permissions.MissingPermissionException

if Permission.NativeContent is not granted

#### Permissions

native-content
to inject native CSS content

#### Wiki page

css