Many bloggers make the mistake of not fully customizing their links and images. In fact, customizing the two can help you stand out from the competition! However, rather than using some JavaScript to enhance our blogs, which increases loading time and is not accessible to users who disable JavaScript, we are going to use pure CSS3 to
let your links and images swing from left to right and vice versa! Let's get further into it shall we?
Live Demo
5. Save your template and done!
For Link Nudging use this code:
Take a look at your blogs and see the difference! Here are some other tutorials which also offer some customization which might be of interest to you:
let your links and images swing from left to right and vice versa! Let's get further into it shall we?
Take a look at this demo:
Adding Link Nudging Effect To Blogger
- Go To Blogger > Design > Edit HTML
- Backup your template
- Search for ]]></b:skin>
- Just above it paste the following code
Edit the bolded values to increase or decrease the amount of swinging./*--- MBT Link Nudging Effect ---*/.mbt-nudge {
-moz-transition: all 0.4s ease-out;
-o-transition: all 0.4s ease-out;
-webkit-transition: all 0.4s ease-out;
-ms-transition: all 0.4s ease-out;
transition: all 0.4s ease-out;
}
.mbt-nudge:hover {
margin-left: 25px;
padding-left: 5px;
}
5. Save your template and done!
How it works?
Whenever you wish to implement this effect, simply add the following code in Edit HTMLmode of your Post EditorFor Link Nudging use this code:
<a href="ADD URL HERE" class="mbt-nudge">ADD TEXT HERE</a>
- Replace ADD URL HERE with your link like http://xyz.com
- Replace ADD TEXT HERE with the text that will display the link
Make these changes:<img src="IMAGE LINK HERE" border="0" alt="Image Description here" class="mbt-nudge" />
- Replace IMAGE LINK HERE with the Image URL of the pic
- Replace Image Description here with Image name or description. Optional
Take a look at your blogs and see the difference! Here are some other tutorials which also offer some customization which might be of interest to you:
very informative articular, Thanks for sharing this
ReplyDeletehttp://www.mybloggertools.com/