.css, .sass or .less
Last updated
Was this helpful?
Last updated
Was this helpful?
Let's see, as an example, the different ways you have to change the backgrounds image of the login page.
First let's an put it in our public directory:
Let's apply this image to the body using plain CSS
We import the StyleSheet:
If you prefer, you can also move the background.png image from public/
to, for examples, src/login/assets/background.png
and reference the image with a path relative to the CSS file, in this case it would be:
Result (see ):
In the following video I show how to load different background for different page and how to create .