Use css in html file which I want to export on Confluence

I create a HTML file based on this link
Then I start exporting it on confluence.
HTML works but it seems there is no way to add css.
I use inline styles but it doesn’t work.
Any idea how to solve it?