I have reached to a point in a project where I need to build something like (introduced in) iOS 7 photo collections, in which an array of photos is displayed and you can hover over any one of them to view the full size image.
Something like this
Looking through the webs I found this site Selfie City. That uses a similar technique in the graphs located at the bottom half of the page. On looking through their source code I discovered the effect was created in svg. I can recreate the same effect using divs but not SVGs.
Is there any advantage in using SVGs over divs for this effect? Will having a number of divs (100 in my case) effect the page's performance i.e. slow it down?
P.S : If someone can link me to a plugin or library that can be used to recreate this effect, it would be great. I have been looking but not quite found one yet.
Aucun commentaire:
Enregistrer un commentaire