Home › Forums › CSS › Images have become semi-transparent when using opacity property. Why? › Re: Images have become semi-transparent when using opacity property. Why?
December 31, 2011 at 10:37 am
#93782
Manojsethi
Participant
the opacity property of css inherits the property of parent class. use rgba command as
rgba(0,0,0,0.5);
first 3 numbers are rgb code and last 4th is 0.5 is opacity.
hope it works for you