Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .overlay {
- position: relative;
- z-index: 0;
- .overlay:before {
- position: absolute;
- content: " ";
- background-image: url('//здесь путь к вашей сетке'),
- //если нужно - сделайте background-repeat: repeat-x
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- display: block;
- z-index: -1;
- }
- <div class="overlay image" style="background: url("//здесь путь к вашей картинке") no-repeat center center;">
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement