HTML & CSS
I have noticed then when i use a background that is opaque like 0.5 the text over it suppose in h1 also become opaque too. i tried giving h1 a 1 opacity but it didn't work. i do i make it not go transparent?
To prevent the text from becoming somewhat transparent, too, you can use rgba colors for the background and apply transparency with the "a" parameter.
Another method that is backward compatible with older browsers is to use a small (often just one pixel) semi-transparent background image.
This topic is now closed. New replies are no longer allowed.