Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
position:absolute;
echo '<div style="width:110px; height:110px; background-image:url(images/img.png); background-repeat:no-repeat; padding-left:5px; padding-top:5px;"><img src="'.$pics.'" width="100px" height="100px" alt="" /></div> ';
<div class=""parent>
<img src="snimka.jpg" width="100px" height="100px" />
<div class="absoluten"></div>
</div>
css:
.parent{
position:relative;
width:100px; height:100px;
}
.absoluten{
widht:110px; height:110px;
position:absolute: left: -10px; top: -10px;
backround-image:url(image.png);
}
<div class="parent">
<img src="snimka.jpg" width="100px" height="100px" />
<div class="absoluten"></div>
</div>
css:
.parent{
position:relative;
width:100px;
height:100px;
}
.absoluten{
width:110px;
height:110px;
position:absolute: left: -10px; top: -10px;
background-image:url(image.png);
}