I'm trying to place an image in a div using css:before with position:absolute; there is already an image in that div. Why I can't control the height or width of that absolute positioned image?
css:
div:before{
content:url('buble.png');
position:absolute;
left:0;
top:0;
width:100%;
height:auto;
z-index:200;
}
html:
<div><img src="profile_pic.png" alt="" /></div>