containment:'body'; position:absolute; z-index:-1; min-width:100%; min-height:100%; overflow:hidden; margin: 0 auto; } .pattern { background-image:url(http://media.lpgenerator.ru/images/11616/pattern.png#size_2x2); background-repeat: repeat; background-attachment:scroll; min-width:100%; min-height:100%; position:absolute; top:0; left:0; background-color: rgba(0, 0, 0, 0.4); }