I have an image (example.png) divided in n times m blocks, and consider this class:
.myFullImg{
background: url(example.png);
}
I want to create a div in which i show in his background just a specific block:
<div class="myFullImg" style="..."></div>
I don't know what to put in style
above ?
Example: the image image.png
had: height:150px
and width:100px
.
Then i have 6x4=24 blocks in this image with height:25px
and width:25px
And i want in a div to display a block from the image image.png
Thank you for your help