Text opacity in CSS -


is there way treat text inside of wordpress widget, make semi transparent using opacity funcion? limiting myself content of following code block.

#content .widget .caption h3 { color:#000000; font-family:'overlock'; margin:0 -10px; padding:0 10px; font-size:27px; height:46px; line-height:46px; font-weight:bold; 

}

with option below, entire widget treated transparent.

 #content .widget .caption h3 { color:#000000; font-family:'overlock'; margin:0 -10px; padding:0 10px; font-size:27px; height:46px; line-height:46px; font-weight:bold; opacity:0.2; 

}

i want have opacity changed. possible way?

you can use rgba color attribute this:

color: rgba(0,0,0,0.5); 

the 0.5 @ end specifiies 50% opacity. apply text, , not containing element.

you've got watch browser compatibility


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -