Is there a way to opacity only background-color of a text in css?(not text color...just background-color of The text)....I do not want use image background.
This is an example:
enter link description here
background is opacity but the text is opacity too...I do not want it...
Sure, use rgba():
div ul li a.title {
padding: 0px 12px 0 0px;
background:rgba(255,0,0,.2);
}
jsFiddle example
Use background: rgba(255, 0, 0, .2);
http://fiddle.jshell.net/wLmAC/1/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With