Social Buttons with Transition CSS Sprite

CSS Sprites is actually for making less request to server. Think your site load with 30 small images when it open in a browser. For this small 30 images (png/jpg) your hosting server will receive 30 requests. Here css sprite rocks, we will put all images in a file and just add the file url in background css with background position. The background file can be like below,

This is a example of background file, tuteplus is using this background.

I have created a background image, this below

I have create the button with CSS Sprites and transition effect.

  • Just create a navigation with basic css
  • Set the background image for each navigation item
  • Now add an extra statement for positioning background

[css]background-position: 0 37px;[/css]

  • Make hover event for the nav items and when user hover on it then the background will be changed as hover item.
  • Now we will see that the background is changing while hovering on the social nav but it is changing at once not smoth as the preview!
  • Lets apply a transition css property to make it smooth. on hover and normal event add transition delay time like below.

[css]
.social:hover {
-webkit-transition: all 400ms ease-in-out;
-moz-transition: all 400ms ease-in-out;
-ms-transition: all 400ms ease-in-out;
-o-transition: all 400ms ease-in-out;
}

.social {
-webkit-transition: all 400ms ease-in-out;
-moz-transition: all 400ms ease-in-out;
-ms-transition: all 400ms ease-in-out;
-o-transition: all 400ms ease-in-out;
}
[/css]

  • Now you are done adjust the delay time while changing background of the social nav.

My Creation is below and it’s live,

[button link=”http://asifsaho.me/wp-content/uploads/download/social-icon/socialbtn.zip” size=”large” color=”teal”]Download Source[/button]

Droplr Quick Image sharing program for all

As a freelancer I always seeking for good tools and now I have got a new tools for sharing files. We know about dropbox, skydrive, box and many other program but droplr is highlight for a good advantage. Not for file sharing it is very fast for image and screenshot sharing. If we compare this tools with dropbox then see how many step we need to share a screenshoot. Continue reading Droplr Quick Image sharing program for all

A File Renamer

Batch File Rename is a great File Rename Utility. This is a product of ronsplace.me.uk, It is an easy to use files and folders renaming tool. It can replace characters, remove/add numbers, remove/add text, changing case, split names, and many more. The software provides an instant preview that allows you to check the renaming results without actually changing any of your files.

Continue reading A File Renamer