# Override Class Declarations with Inline Styles

So we've proven that id declarations override class declarations, regardless of where they are declared in your `style` element CSS.

There are other ways that you can override CSS. Do you remember inline styles?

***

Use an inline style to try to make our `h1` element white. Remember, inline styles look like this:

```html
<h1 style="color: green;">
```

Leave the `blue-text` and `pink-text` classes on your `h1` element.

![](https://2757483898-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FRGOYewK62NunpbRhEYDY%2Fuploads%2FgUQnlRqH1XxkLvSFHpNv%2Fimage.png?alt=media\&token=0b46abb3-b4a3-4e3e-976a-6d82e19c91f7)
