Changing the background image
Last updated
Last updated
Let's see, as an example, the different ways you have to change the backgrounds image of the login page using CSS only.
There is the equivalent of this guide using CSS-in-JS here.
First let's download a background image an put it in src/login/assets/background.png.
Then let's apply it as background:
We import the StyleSheet:
Result:
For a more advanced example, in the following video I show how to load different background for different page and how to create theme variant.