I
I
Igor2015-09-26 12:24:33
css
Igor, 2015-09-26 12:24:33

How to remove the transparency of an image?

QetFQUR.png
1. Why did this happen?
2.how to fix?
ZY.as I understand it inherits transparency from the div, but why does the neighboring block not have such a problem?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Kirill Turovnikov, 2015-09-26
@turovnikoff

As I understand it, the block has opacity transparency, then all nested elements will also be transparent, so that this does not happen, set the background of the block in rgba. For example background: rgba(255,255,255,.5)

S
Sanan Yuzb, 2015-09-26
@Sanan07

opacity: 1;

G
gl_evhen, 2015-09-26
@gl_evhen

img{
opacity: 1;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question