--> Link Nudging To Animate Images Using CSS3 | Experience Lab - Online business creation and development guide for bloggers and startups

Link Nudging To Animate Images Using CSS3

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...

link-nudgingMany 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? Take a look at this demo:

 

Live Demo

 

Adding Link Nudging Effect To Blogger

  1. Go To Blogger > Design > Edit HTML
  2. Backup your template
  3. Search for ]]></b:skin>
  4. Just above it paste the following code

/*--- 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;
}

 

Edit the bolded values to increase or decrease the amount of swinging.   

5. Save your template and done!

 

How it works?

Whenever you wish to implement this effect, simply add the following code in Edit HTML mode of your Post Editor

For 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

For Image Nudging use this:

<img src="IMAGE LINK HERE" border="0" alt="Image Description hereclass="mbt-nudge" />

Make these changes:

  • 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:

Anims


About the Guest Author:

Anims is freelance web designer and enjoys playing around with and learning coding in his free time. He likes to write about Web Technologies such as HTML, CSS and SEO. He is a valuable MBT contributor.

COMMENTS

Name

Affiliate Marketing,12,Announcement,34,Bing,9,Bitcoin,38,blog,7,Blogger Resources,42,Blogger Templates,4,blogger tricks,156,Blogging ethics,70,Blogging tips,198,Bugs and Errors,34,Business,11,Copyright Violation,9,CSS and HTMLTricks,95,Designs,8,drop down menu,7,eBook,12,Email Marketing,7,Events,30,Facebook,30,Facebook tricks,49,Google,157,Google AdSense,42,Google Analytics,7,Google Plus,51,Google Plus Tricks,38,Guest Posts,112,home,2,How To,77,Internet,1,JSON Feeds,25,Kitchen Recipes,2,Label Based Sitemap Themes,1,Make Money Online,108,Marketing,17,MBT Blogger Templates,7,Menus,1,News,146,Pages,1,Posts,10,presentations,15,Responsive,10,Reviews,7,SEO,307,Settings,6,Shortcode,15,Sitemap Themes,1,Social Media,155,Technology,7,Templates,1,Tips,2,Tools,1,Traffic Tips,80,Video,19,Web Designing,62,web hosting,18,Webmaster Tools,97,Widgets,199,wordpress,26,
ltr
item
Experience Lab - Online business creation and development guide for bloggers and startups: Link Nudging To Animate Images Using CSS3
Link Nudging To Animate Images Using CSS3
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCqCLAs8tM2REtlpvzEvHgfGUWEP5lVGQ45ZL38jBmCoun7ZHvLGIS6ev3ETUbqqanW2H6y8eI1dT_4p7biN2JpfIk8Sq1BKpuHHQFISSPS0wx7x5j1ehgOSXykzoNf4ToW5bjWT3uZvM/?imgmax=800
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCqCLAs8tM2REtlpvzEvHgfGUWEP5lVGQ45ZL38jBmCoun7ZHvLGIS6ev3ETUbqqanW2H6y8eI1dT_4p7biN2JpfIk8Sq1BKpuHHQFISSPS0wx7x5j1ehgOSXykzoNf4ToW5bjWT3uZvM/s72-c/?imgmax=800
Experience Lab - Online business creation and development guide for bloggers and startups
https://www.experiencelab.info/2011/06/link-nudging-to-animate-images-using.html
https://www.experiencelab.info/
https://www.experiencelab.info/
https://www.experiencelab.info/2011/06/link-nudging-to-animate-images-using.html
true
2959477579779989044
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share. STEP 2: Click the link you shared to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy