Non-Transparent Inside Transparent Elements


/ Published in: CSS
Save to your folder(s)

If using transparency on a block element it makes the text inside transparent as well. Is there a way you can prevent that from happening? Yes, you may do it by putting the text in another div and setting the opacity to 100%, but that didn't do the job. Although, logically, it would!

URL: http://www.apphp.com/index.php?snippet=css-non-transparent-inside-transparent-elements

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.