--- title: style: --- The `style:` directive provides a shorthand for setting multiple styles on an element. ```svelte
...
...
``` The value can contain arbitrary expressions: ```svelte
...
``` The shorthand form is allowed: ```svelte
...
``` Multiple styles can be set on a single element: ```svelte
...
``` To mark a style as important, use the `|important` modifier: ```svelte
...
``` When `style:` directives are combined with `style` attributes, the directives will take precedence: ```svelte
This will be red
```