Friday, October 30, 2015

Add animated underline links of your Blogger blog

Add animated underline links of your Blogger blog
I published couple of cool tutorial and tricks for customizing your blogs post area elements before; here to mention some notable using Google font in post, customized blockquote, syntax highlighter, setting up 404 error page, Flickr images gallery, Remove default border and shadow from images, embedding vimeo videos etc. Here to the next stage of Blogger post customization I presenting to you here animated underline links. By applying this tutorial in post all links will show different way; animated underline will appear on mouse hover on links. This trick made with CSS3 animation and it’s easy to set up. Let’s see how it works and how to add it on your Blogger blog.

Add animated underline links of your Blogger blog


Live Demo: (click here)

Codes for Copy:


<style>/*crawlist.net CSS starts*/
.post-body a, a:visited {
  text-decoration: none;
  position: relative;
  color: #3498DB;
}
.post-body a:after, a:visited:after {
  content: '';
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  background: #19B5FE;
  transition: 0.2s;
  margin-top:2px
}
.post-body a:hover:after, a:visited:hover:after {
  width: 100%;
}
.post-body a.block, a:visited.block {
  display: block;
  padding: 0.5em;
}
.post-body a.block:hover, a:visited.block:hover {
  background: #fff;
}/*crawlist.net CSS ends*/
</style>


How to add:
  • Login to Blogger, select your blog,
  • Go to ‘Layout’ tab, select ‘add a gadget’
  • Select ‘HTML/JavaScript’ from pop up page
  • Copy and paste all given codes in there,
  • And save the gadget, later template
Now check your blog out for new link outlook.

FAQ and Caution:

  • This code won’t work if your template has a different name for Post body class, so if this code fails then search within your template for the class name of the post area, and replace them with my given default codes classes.
  • You can change the links and underlines color, together or separately; just find and replace the color code with your demand.
  • This code chunk made with CSS and CSS3 should work nicely on any latest web browsers.
So what your opinion about this tutorial don’t forget to mention :) Goodluck,,,

0 comments:

Post a Comment

Popular Posts

Recent Posts

YouAreHere

Unordered List

Text Widget

Powered by Blogger.