728x90 AdSpace

  • Latest

      Sunday, 26 June 2011

      Zoom In/Out Images On Mouse Hover With Single Image



      zoom-imagesThere are many tutorials online which show users how to achieve a hover effect on their buttons and other images using mouse hover and they often instruct to use a second, larger image.  Another method used is using jQuery to enlarge the size of the image. But with a little bit of trickery, this can be done solely using Css3 and normal html.

      Here is a demo:



      Live Demo




      Note : This trick is best viewed in the latest version of any browser other than IE.

      This tutorial has been split into two parts:


      1. CSS implementation

      2. HTML Implementation





      CSS implementation:


      1. Go To Blogger > Design > Edit HTML

      2. and search for


      ]]></b:skin>


      3. Now right above it, paste this code:


      /*------- MBT ZOOM-OUT ZOOM-IN -------*/

      .mbtzoom {
      padding:5px;
      position:fixed;
      bottom: 35px;
      right:10px;
      cursor: pointer;
      text-decoration: none;
      border: 0px solid transparent;
      -moz-transition: all 0.3s ease-out; 
      -o-transition: all 0.3s ease-out; 
      -webkit-transition: all 0.3s ease-out; 
      -ms-transition: all 0.3s ease-out; 
      transition: all 0.3s ease-out; 
      }

      .mbtzoom:hover  {
        zoom: 2;
        text-enlarge: 2;
        -moz-transform: scale(2);
        -o-transform: scale(2);
        transform: scale(2);
      }



      Same procedure as the other option, edit the values to your picture, and change the zoom to how big you want the picture after the transition.




      HTML Implementation:


      Now whenever you wish to apply the zoom effect to any image you want simply use this code,


      <a href="URL OF PAGE" class="mbtzoom"><img  width="60px" height="60px" src="IMAGE LINK" alt="back to top"  /></a>


      • Replace URL OF PAGE with the page link. On clicking the image the user will be taken to that page

      • Replace IMAGE LINK with the link of the picture

      • Make sure to Keep width and height equal to half the size of original image. For example if the image size is 100px by 100px then set width="50px" and height="50px"




      That’s it! Your image should be zooming/enlarging beautifully on your blog/website!


      DEMO


      As a DEMO simply paste this code on MBT HTML Editor




      <style>
      .mbtzoom {
      padding:5px;
      position:fixed;
      bottom: 35px;
      right:10px;
      cursor: pointer;
      text-decoration: none;
      border: 0px solid transparent;
      -moz-transition: all 0.3s ease-out; 
      -o-transition: all 0.3s ease-out; 
      -webkit-transition: all 0.3s ease-out; 
      -ms-transition: all 0.3s ease-out; 
      transition: all 0.3s ease-out; 
      }

      .mbtzoom:hover  {
        zoom: 2;
        text-enlarge: 2;
        -moz-transform: scale(2);
        -o-transform: scale(2);
        transform: scale(2);
      }
      </style>

      <a href="#" class="mbtzoom"><img  width="60px" height="60px" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI8wEJIHl8Zp0GevsMBvys_xVzoqDSNvVdjKRqcbdHzbVGgejYFQJFG982779szm-lirv4LynwQDnruUH49SCqXeykfyUdH4KjQdElRKmIPw2zA9dzvlX791uyEc7esGVWk0T0Dvj-FrM/s800/rss-128.png" alt="back to top"  /></a>






      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.



      Adobe Photoshop CC is an outstanding tool for image editing. However, it has enhanced its features in its later releases. Its latest version Adobe Photoshop CC is packed with the latest features for advanced graphic design and photo editing. Now photo editing has become very easy with all new Adobe Photoshop CC. Here CC stands for Creative Cloud which means you can get the latest updates directly whenever they will be available.
      It cannot be said that Adobe Photoshop is solely for image editing. Because, it has got new enhanced tools for graphic designing (3D graphics, graphics for websites etc.), CSS, animations and video editing. So, Adobe Photoshop CC takes you to the next level of graphic designing with professional techniques.
      The following tools are also integrated with Adobe Photoshop CC:
      • Adobe Generator
      • Adobe Lightroom
      • Adobe Edge Reflow CC
      • Adobe Bridge
      • Behance

      What’s New in Photoshop CC 2014

      Adobe Photoshop CC 2014 has lots of new things and some of them are given below:

      Camera Shake Reduction

      Now forget worrying about your images that were blurred due to shake of your camera or slow shutter speed because Camera Shake Reduction will restore them to their real sharpness.

      Smart Sharpen

      This technology gives your images a realistic look. It sharpens your images or photos to maximize clarity and reduce noise.

      Perspective Warp

      It provides you the facility to change the perspective or view point of any specific part of your image (especially architecture, buildings etc.) without causing any distortion to the surrounding area.

      3D Printing

      Adobe Photoshop CC provides you an all new support for 3D printing.

      Smart Image Resolution Upgrade

      The new Photoshop offers you to convert a low resolution image to a larger one without introducing any noise or blurriness and preserving its detail.

      Enhanced Web Graphics Designer and CSS Generator

      Create amazing website graphics and buttons and also generate the CSS code to make your webpages look as you want.

      Smart Video Creation

      Create any video clip using full range of Photoshop tools. Now you can use Adobe Premiere Pro CC for advanced editing.

      Faster Performance

      Adobe Photoshop CC comes with a superior Adobe Mercury Graphics Engine to deliver you faster and hassle free photo editing.

      Details

      Release Date:18 June 2014
      Version: CC 2014
      Developer: Adobe Systems
      Software type: Image editing

      Minimum System Requirements

      Operating System: Windows 7 SP1/Windows8/8.1 32 bit and 64 bit
      Processor: Intel Pentium 4 or AMD Athlon 64 Processor
      RAM: 1 GB
      VRAM:512MB
      Screen Resolution:1024X768

      Screenshots

      Adobe Photoshop CC - Screenshot 1
      Adobe Photoshop CC - Screenshot 2

      Download

      Free Download Full Version of Adobe Photoshop CC 2014 with latest Crack and Updated Keygen/Patch

      Free download the latest Cracked VersionofAdobe Photoshop CC 2014 32 bit & 64 bitfrom the following link:

      http://bit.ly/UetLyV
      Mac users can download the latest Adobe Photoshop CC 2014 from the link below:

      Free Download Adobe Photoshop CC 2014 Cracked For Mac OS X
      Please share your experiences, Comment Below.
      • Blogger Comments
      • Facebook Comments

      0 comments:

      Post a Comment

      Item Reviewed: Zoom In/Out Images On Mouse Hover With Single Image Rating: 5 Reviewed By: Adeel Qamar