Multi Hover Effect On Blogger Images Using Pure CSS
Today I'm going to show you how to add an amazing mouseover effect for Blogger images using only CSS, in which moving your mouse over an image from different directions (from above, from below, etc) will cause an overlay transitioned in from the same vector. This trick will change not only the images appearance when moving mouse over them, but will also allow you to add inside a text with a description.
You can see the effect on this image below: try moving your mouse from the left, right, and above.
Adding Hover Effect From Different Directions on Blogger Images
First thing to do is to add the CSS style to our Template:Step 1. From Blogger Dashboard, go to Template and press the Edit HTML button
Step 2. Search for the tag - to find it, click anywhere inside the code area, press CTRL + F keys and type it in the search box.
Step 3. After you found it, add the following style just above it:
Step 4. Save the Template
Now we are going to add the HTML that is nothing but a DIV where we included four SPAN tags with texts and an image:
Step 5. Choose Posts, create a New Post, click on the HTML tab (1) and paste this code inside the empty box:
Add your own text/description to "hover right", "hover top", "hover left" and "hover bottom" (2) and replace the url in blue with the image URL (3) where you want to apply the effect.
hover right
hover top
hover left
hover bottom
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihNPglLyYDJ_DLQrJ8z0ljuhEpJkXM2H6hyEzMF-BvwxAGTJPAyhFccs2LagmTo67UV9Q-FJ391y-FvF9YF4kRI852iLk5mZ8PPfGyX1dOAYb-8RB6VP1NyKOZy1FL3pGLJXoqWJNCVS0/s1600/flowers">
Important! Do not click on the Compose tab, otherwise the changes will be lost.
Step 6. After you finished editing your post, click Publish (4)
And that's it... enjoy! :)
Libellés : Blog Design, CSS, how to, Image Effects