While I was surfing the web to see what JS developers has in a store lately, I stumbled upon this great plugin which makes web images come alive.
This plugin has a lot of great effects and we will go on in details in a later article. For now, let’s get things going and make the magic of it happen.1- Let’s include the necessary files in the head tag of out page. You can include the script file at the end of the file for better performance.
3- It’s done now as simple as that. Save your file and see the magic happen.
Note: Don’t give your image any width or height styles because this will affect the plugin’s behavior. To make the image have a size that matches your design, wrap it inside a container, a <div> for example and add the style that you want to it.
This is pretty much that we do for today. Wait for the next article that will has more examples of what this beautiful plugin can do.