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.
#pic1{
background:url('pic1.gif') no-repeat;
height: височина ;
width: ширина ;
position:relative;
z-index:2;
}
#pic2{
background:url('pic2.gif') no-repeat;
height: височина ;
width: ширина ;
position:relative;
z-index:3;
}
Montreras каза:Ето цсса
Код:#pic1{ background:url('pic1.gif') no-repeat; height: височина ; width: ширина ; position:relative; z-index:2; } #pic2{ background:url('pic2.gif') no-repeat; height: височина ; width: ширина ; position:relative; z-index:3; }
Ако z-index-a на пик2 е > пик1 тогава пик2 е над пик 1 ако не е обратното.