Как установить непрозрачность в родительском div и не повлиять на дочерний div? [Дубликат]

This question already has an answer here:

I do not want to inherit the child opacity from the parent in CSS 14 answers

Эй, я ищу в Google, но не могу найти идеальный ответ

Я хочу, чтобы Непрозрачность в родительском DIV, но не Child DIV

пример

HTML

<div class="parent">
<div class="child">
Hello I am child 
</div>
</div>

Css

.parent{
background:url('../images/madu.jpg') no-repeat 0 0;
}
.child{
Color:black;
}

Note: -- я бы хотелbackground-image вParent Div не цвет

Ответы на вопрос(7)

Ваш ответ на вопрос