Is there an HTML code that can make my background picture transparent and my text non-transparent?

Posted by user1831312 on Stack Overflow See other posts from Stack Overflow or by user1831312
Published on 2012-11-17T04:44:48Z Indexed on 2012/11/17 5:00 UTC
Read the original article Hit count: 124

Filed under:
|
|

Okay so I've been typing some HTML code for a technology class that I need to satisfy for my Education major. This is what i have for my background:

body {
    background-image:url('islandbeach.jpg');
    background-repeat:repeat;
    background-position:center;
    background-attachment:fixed;
    background-size:cover;
}

Now, I want to make my background transparent or faded so I can see the text and the other image that I have. The background is too colorful to be able to see the words without having to squint. Are there any HTML codes that can do this for me? I am not a pro at this stuff, I've just been following everything my professor has told me to do so please explain stuff in baby steps if you do have an answer. Thank you so so much!

© Stack Overflow or respective owner

Related posts about html

Related posts about css