How to split an image into pieces using javascript and put in their respective divs

2

I would like to know how this separation of the image in smaller divs within the div itself is done following the example of this link:

link

    
asked by anonymous 02.10.2015 / 02:49

1 answer

1

Only CSS is enough

link

The javascript can even be used to grab an image and generate CSS. But in the example I used CSS only

    
02.10.2015 / 04:16