Split em up!
codepen which had the same functionality but with too much of JS to calculate and split the blocks into further pieces!
I took advantage of CSS along with jQuery to make the same PEN in a few lines.
Code and the splitting effect! Click as many squares as you can..
P.S. The original PEN used images. Being a lazy bone i just put background colors instead of images..
Inspired from a Pen on I took advantage of CSS along with jQuery to make the same PEN in a few lines.
Code and the splitting effect! Click as many squares as you can..
P.S. The original PEN used images. Being a lazy bone i just put background colors instead of images..
Comments
Post a Comment