November 25, 2014

Tuesday, November 25, 2014
Add 5 Superb CSS3 effect on Images of Blogger blog
In our Blogger post we use various images as hint, example, for showcase an object or just as a part of post. Highlighting those images, effect’s on images necessary too. In Blogger’s default template your images automatically gets border and shadow effect, again if you are using custom template your may be not having any effect on your images.
But if you want more specific effect on your images or you want to use custom effect on your Blogger blog you can use CSS3 effects for images. Here 5 superb, most popular CSS3 effect code  I gathered (Shadow, Opacity, Tilt, Jump, Morph effects). See what image effect suits your images, and add them on your blogger images.

CSS3 Shadow effect on Images

add Shadow effect on images in blogger

Just Shadow effect

HTML


<img class="ks-sado" src="image link" />


CSS


.ks-sado {-moz-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
-webkit-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0,.75);}



Shadow effect on mouse hover

HTML


<img class="ks-sado" src="image link" />


CSS


.ks-sado:hover { -moz-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
-webkit-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0,.75);}


Shadow effect on mouse hover with CSS3 animation

HTML


<img class="ks-sado" src="image link" />


CSS


.ks-sado:hover {-moz-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
-webkit-box-shadow:0 2px 10px rgba(0, 0, 0,.75);
  box-shadow: 0 2px 10px rgba(0, 0, 0,.75);
  -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    -ms-transition: all .5s ease;
    transition: all .5s ease;}


More customization : This shadow effect generate upon RGBA color code. If you want other color shadow on images Go to any color picker (Color Hexa) and place your color code's Hex digit on rgba(0, 0, 0,.75)'s first 3 '0', and Last 0 for Opacity.

CSS3 Opacity blur effect on Images

 

add opacity blur effect on images in blogger

Just Opacity effect

HTML


<img class="ks-opaci" src="image link" />


CSS


.ks-opaci { opacity:.7;}


Opacity effect on mouse hover

HTML


<img class="ks-opaci" src="image link" />


CSS


.ks-opaci:hover { opacity:.7;  }


Opacity effect on mouse hover with animation

HTML


<img class="ks-opaci" src="image link" />


CSS


.ks-opaci:hover { opacity:.7;
   -webkit-transition: all .5s ease;  
 -moz-transition: all .5s ease;   
-o-transition: all .5s ease;   
-ms-transition: all .5s ease;   
transition: all .5s ease; }

 

CSS3 Tilt effect on Images

add tilt effect on images in blogger
 
Just tilt effect on image

HTML


<img class="ks-stumbi" src="image link" />


CSS


.ks-stumbi {
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);}



Tilt effect on mouse hover

HTML


<img class="ks-stumbi" src="image link" />


CSS


.ks-stumbi:hover {
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);}


Tilt effect on mouse hover with animation

HTML


<img class="ks-stumbi" src="image link" />


CSS


.ks-stumbi {webkit-transition: all 0.5s ease-out; 
-moz-transition: all 0.5s ease; 
-o-transition: all 0.5s ease;
    }

.ks-stumbi:hover {
    -webkit-transform: rotate(-7deg);
    -moz-transform: rotate(-7deg);
    -o-transform: rotate(-7deg);

webkit-transition: all 0.5s ease-out; 
-moz-transition: all 0.5s ease; 
-o-transition: all 0.5s ease; }

CSS3 Jump effect on Images

add jump effect on images in blogger

Just jump on hover

HTML


<img class="ks-jumpi" src="image link" />


CSS

.ks-jumpi { margin:15px;}
.ks-jumpi:hover { margin-top:10px;}


CSS3 Jump effect on Images with animation

HTML


<img class="ks-jumpi" src="image link" />


CSS


.ks-jumpi { margin:15px;
-webkit-transition: margin 0.5s ease-out;
-moz-transition: margin 0.5s ease-out;
-o-transition: margin 0.5s ease-out;}
.ks-jumpi:hover { margin-top:10px;
-webkit-transition: margin 0.5s ease-out;
-moz-transition: margin 0.5s ease-out;
-o-transition: margin 0.5s ease-out;}


CSS3 Morph effect on Images

add morph effect on images in blogger

Image will spin 360 degrees on mouse hover. As it’s spinning, 'border-radius' will cropped to 50%. From Design Shack.

HTML


<img class="ks-circl" src="image link" />


CSS


.ks-circl  {
-webkit-transition: all 0.5s ease;
     -moz-transition: all 0.5s ease;
       -o-transition: all 0.5s ease;
      -ms-transition: all 0.5s ease;
          transition: all 0.5s ease;}

.ks-circl:hover  {
  border-radius: 50%;
  -webkit-transform: rotate(360deg);
     -moz-transform: rotate(360deg);
       -o-transform: rotate(360deg);
      -ms-transform: rotate(360deg);
          transform: rotate(360deg);}


How to add any effect in Blogger

Step 1: You need to embed the CSS code into your template. The effect you want to use in your post, First that effect's CSS code embed into your template.
  • Log in to your Blogger account, select your blog, 
  • Select 'Template' tab, then 'Edit HTML', 
  • Find (Using Ctrl+F or Cmd+F) ]]></b:skin>
  • Above ]]></b:skin> paste your following CSS (Under pink color title) code, 
  • 'Save template'.

Step 2: After your image uploading done,
  • From post editor's top (Compose/HTML) Switch to 'HTML', 
  • After clicking 'HTML' you will see your uploaded image's source tag code 
<img border="0" src="image link" /> 
  • In this Image tag code add your following (what effect's CSS code you embedded into your template) effect's HTML class code. Example:-
If you embedded shadow effect's CSS in your template add class="ks-sado" into your image's Img tag
(example  <img border="0" src="image link" class="ks-sado"/>)




For Opacity effect class="ks-opaci"
For Tilt effect class="ks-stumbi"
For Jump effect class="ks-jumpi"
For Morph effect class="ks-circl"
That's it.

All codes are universal, will be support on any browser (except IE), Any question, feedback leave with comment. New effects, shadow for images will be release soon, So stay subscribed. Goodluck..

0 comments:

Post a Comment

 
Copyright © 2013-16 Crawlist All Right Reserved
Designed By Me {K.Shazzad}