+ 2

How can I place an element to the background?

How can I place an element to the background?

3rd Jan 2020, 9:23 AM
JONESY B
JONESY B - avatar
4 Antworten
+ 3
I'm guessing you want to create something like a background image or something similar. In your CSS code add: z-index: -1; position: fixed; /* Prevent the element from moving */ To the element.
3rd Jan 2020, 9:44 AM
Edwin Pratt
Edwin Pratt - avatar
+ 3
Just put in css z-index: -1;
3rd Jan 2020, 9:45 AM
Nico Ruder
Nico Ruder - avatar
+ 2
Edwin Pratt i will try 😁thnx
3rd Jan 2020, 9:55 AM
JONESY B
JONESY B - avatar
+ 2
Nico Ruder i think this is all I need thanks
3rd Jan 2020, 9:55 AM
JONESY B
JONESY B - avatar