1
The image that allows you to do this checkered feat is a point only, with some transparency:
https://static.musiocdn.com/img/dot-overlay.png?45a8ea7a65f7
She’s put on top like overlay
<div class="dot-overlay"></div>
And it’s above the original repeat image based on the default value of background-repeat
that is repeat
. This value forces the repetition both in height and width giving the idea of a grid.
Replicating this effect:
.fundo {
background-image:url(http://c1.staticflickr.com/3/2912/13981352255_fc59cfdba2_b.jpg);
background-size:cover;
width:100%;
height:300px;
}
.overlay {
background-image:url(https://static.musiocdn.com/img/dot-overlay.png?45a8ea7a65f7);
width:100%;
height:100%;
}
<div class="fundo">
<div class="overlay">
</div>
</div>
The "shadow" that indicates is actually a black background with 50% transparency on top. You can incorporate this in various ways.
See an example for this effect as well:
.fundo {
background-image:url(http://c1.staticflickr.com/3/2912/13981352255_fc59cfdba2_b.jpg);
background-size:cover;
width:100%;
height:300px;
position:relative;
}
.overlay {
position:absolute;
background-image:url(https://static.musiocdn.com/img/dot-overlay.png?45a8ea7a65f7);
width:100%;
height:100%;
}
.sombra {
position:absolute;
width:100%;
height:100%;
background: rgba(0,0,0,0.5);
}
<div class="fundo">
<div class="overlay"></div>
<div class="sombra"></div>
</div>
You can even use a linear-gradient
if you want to be more creative.
you can put an image of a point that repeats over and over again
– Costamilam
how to put two ? I pull this one with background: url(../images/my.png) no-repeat; and the other I’d do how ?
– goio