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.
div.grass {
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-originadding;
background:transparent url(../images/grass.png) repeat scroll center center;
bottom:0;
height:60px;
position:fixed;
width:100%;
}
<div class="grass"/>
#grass {
position:fixed;
bottom:0px; width:100%;
background-image:url('/images/grass.jpg');
background-repeat: repeat-x;
}
<div id="grass"></div>
div.grass {
width:100%; height:60px; background: url(../images/grass.png) center; position:fixed;bottom:0;
}
<div class="grass"></div>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
dELux_nike каза:Просто на body задаваш маргин - лефт 0
body
{
margin-left: 0;
}