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!
Try this
here is jsfiddle File
Option1: Use faded background so that the text you will write or images that you use will be readble.
Option2: Your Body tag have image and div with class bgopc will be on top of that with white color and reduced opacity... so your image will become transparent. Now other div with id container will act as container for your images and content.
Now CSS will be
I hope it will solve your problem.
Here is a simple hack you can do using the :after property.
Css Code
js bin demo http://jsbin.com/welcome/50098/