19 Ekim 2014 Pazar

Create A 3D Flip effect Image in blogger

Add 3D Flip Effect to any Image Using CSS3

Move your mouse on below image..!!




.


Many bloggers are adding simple images in to blog, Ooh..!! Damm I am bored and i find a new Css3 trick for adding images uniquely.That is 3D Flip effect.when you navigate your mouse on the image then image is automatically flip.and the best part of this you can apply your own custom colors to enhance the effect of design. So let's play with this awesome feature,okay In this tutorial you will have to deal with code , this is  CSS3 code for styling image.

Now how to add this this effect to an image and how how to add this in blogger.
Step:-1 Log in with your blogger account and then go to your blogger Dashboard 

Step:-2 Now click on create new post button then switch post page into HTML Section (Watch below image)



Step:-3  Now Copy below code and paste in HTML Section


<div class="profile-image">
<div class="flip-3d">
<figure>
<img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlYWwQoLG_5fBwqPloGAFzQC-2LRIeS4cftFtsqhdqaKXNzNz6E89z_4LVvgQ1fFMUIkcWgh1sRaKT6pomu6kC-pnkwc0ZCrpAeswqaMOu8rYePgmO2V1JM2PxgxHL2Mw842iJ0zv3OvXu/s1600/oie_24174354SEh7CYTz.png" />
<figcaption>Type your text here</figcaption>
</figure>
</div>
</div>
<style>
.profile-image {
  margin-bottom:0px;
}
div.flip-3d {
 perspective: 1200px; width: 50%; float: left;
}
div.flip-3d-skills {
 perspective: 1200px; width: 50%; float: left;
}
div.flip-3d figure {
 position: relative;
 transform-style: preserve-3d;
 transition: 1s transform;
 font-size: 1.6rem;
}
div.flip-3d figure img {
 width: 100%;
}
div.flip-3d figure figcaption {
 position: absolute;
width: 50%; height: 30%; top: 0;
 transform: rotateY(.5turn) translateZ(1px);
 background: rgba(255,255,255,0.9);
 text-align: center;
 padding-top: 30%;
 opacity: 0.6;
 transition: 1s .5s opacity;
}
div.flip-3d:hover figure { transform: rotateY(.5turn); }
div.flip-3d:hover figure figcaption { opacity: 1; }
div.flip-3d figure:after {
content: " "; display: block;
height: 8vw; width: 100%;
transform: rotateX(90deg);
background-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
}
</style>

Important:-

:- Change Red Line With your Image Url
:- Replace Blue Line with your Text
:- U Can also change the Height  and wight of images green line
:- And change the Background Color Orange Line


Note:-If u like this post please give me your comments for your feedback suggestion or help.Thanks..!!

Etiketler: , ,

0 Yorum:

Yorum Gönder

Yorumlarınız için teşkür ederim

Kaydol: Kayıt Yorumları [Atom]

<< Ana Sayfa