css - How do I make a semi transparent background? -


i need make white background 50% transparent without affecting else. how do it?

use rgba():

.transparent{   background:rgba(255,255,255,0.5); } 

this give 50% opacity while content of box continue have 100% opacity.

if use opacity:0.5, content faded background. hence not use it.


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -