How to Create a 3D Flip Effect Image in Blogger

04:06 AUXINS 0 Comments




Nothing
               

                                         
             

Creating a 3D Image Flip Effect using CSS in Blogger

 Hello,today I will tell you how to add or create 3D flip effect in Image in Blogger platform.
so The main reason to add this in your blogger to attract visitors and some coolness in your blogger post.OK!then lets get started.

STEPS TO BE FOLLOWED BY YOU.


First go to your Blogger Dashboard then template section then got to Edit HTML.
Then search for </head> tag .
Then copy the code paste before </heaad> tag .I said before </head> tag OK!
<style>
.profile-image {
  margin-bottom:20px;
}
div.flip-3d {
 perspective: 1200px; width: 100%; float: left;
}
div.flip-3d-skills {
 perspective: 1200px; width: 100%; 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: 105%; height: 50%; top: 0;
 transform: rotateY(.5turn) translateZ(1px);
 background: rgba(255,255,255,0.9);
 text-align: center;
 padding-top: 45%;
 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>
Now click on Save Template.

Now its time to add some coolness in your blogger post.So create an New post then Click on HTML tab
                                 
           

Now place the piece of code in HTML blank page

<div class="profile-image">
<div class="flip-3d">
<br />
<figure>
<img alt="Alt Tag for img Goes Here" src="Link of the Photo Here" />
 <figcaption>Caption text goes here!</figcaption>
 </figure>
 </div>
</div>

Change the Alt Tag for Img goes here with your own alt tag.\your caption.
Change the Link of the Photo Here with your image link.
Add the Caption text goes here with your your caption.

                                                                          Bye

0 comments: