html - Background image under all page elements -
i'm new coding , having trouble.
i want put background image under of page elements fits entire screen. when try white coloring apart of of p's , h's i've added overlap image making page funky. part of page gets background image.
here's code added css file.
html { background: url('imgurl') no-repeat center center fixed; background-size: cover; -moz-background-size: cover; -o-background-size: cover; -webkit-background-size: cover; }
the html , css files undoubtedly linked. also, used imgurl in example code, actual code links right url.
can't tell without showing fiddle.
my guess doing removes background on elements mentioned.
h1, h2, h3, p { background: none; }
Comments
Post a Comment