Image hover effect in blogger, is a trick used by many of pro bloggers. When you move your cursor to any of the image the hover effect over it takes place and its view is more clear then before.It's a small css trick that is done by adding styling to your blog css and define its class while using your image url in blog posts.
How to make image hover over effect.
And place the below css above </head>.
a.linkopacity img {
filter:alpha(opacity=50);
-moz-opacity: 0.5;
opacity: 0.5;
-khtml-opacity: 0.5;}
a.linkopacity:hover img {
filter:alpha(opacity=100);
-moz-opacity: 1.0;
opacity: 1.0;
-khtml-opacity: 1.0; }
</style>
Now whenever you embed your image in blog or blog posts you use codes like below.
Whenever you use blue codes like below in your blogs for images.
Use below green code in place of above blue code to have hover effect.
Difference in both codes is that i have added class=linkopacity in red in second code.
Example:
Before adding the code
After adding class=linkopacity
REFERENCES:-
Blogspot Blog
Post a Comment