« Web, HTML, Tech Forum

how to put a gif over the whole page

Posted by xORionx

posted

Forum: Web, HTML, Tech

i used to have it where it was raining and i had a transparent rain gif and i got the code from a blog i think then lost all my code and i cant figure it out. anyone have any idea on how to do it?

sorry this isnt a great picture but it looked like this

i'd also really appreciate if you could help me with centering my profile picture and status thingys like that. thank you anyone who tries to help


Report Topic

2 Replies

Sort Replies:

Reply by arlo atomickk

posted

I think this is what you're after:

html:before{ 

   animation: grain 8s steps(10) infinite;

   background-image: url(INSERT URL);

   background-size: cover; 

   content: "";

   height: 200%;

   left: -50%;

   opacity:.5;

   position: fixed;

   top: -100%;

   width: 200%;

   pointer-events:none}



Permalink Report Reply

Reply by arlo atomickk

posted

also i think:

.details{

text-align: centre !important

}

mightttt be the way to center it?


Permalink Report Reply