Css opacity and image
I have image inside div with transparency , the problem it´s with this
image , the div needs be trasparent but no the image , when use opacity in
div the image also change to this opacity and that´s the problem
#cp_advise
{
position:absolute;
width:100%;
height:99%;
left:50%;
margin-left:-50%;
background-color:#111;
z-index:999;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
filter: alpha(opacity=60);
-moz-opacity:0.6;
-khtml-opacity: 0.6;
opacity: 0.6;
text-align:center;
}
<div id="cp_advise">
<img src='services.png'>
</div>
I try use z-index over the image but continue the problem
Thank´s , Regards !
No comments:
Post a Comment