background-image CSS property: how to do it right with Craft? My current code is:

#header { background-image: url('{{ sitePath }}/assets/toxicomental/header.png'); height: 150px; }


Still, I don't get the image showing.

What do I do wrong?
There is a function called alias that returns a defined alias. A default alias is @web and it represents your base url,

background-image: {{ alias('@web') }}/path/to/image.jpg;


Would display the file image.jpg in web/path/to/