Latest News

Saturday, 22 November 2014

CSS3 Image Hover Effects with CSS3 Transitions


Example-1:-

Add a special effect to your image hover effect using CSS3 Zooming Animation Effects style.Let us follow the Steps.

Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed 
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin> 

.view {
   width: 300px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
}

.view .mask, .view .content {
   width: 300px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjqf0fdvjZThI8yEqs6eNJmxFf-g7tVeUK-OPm9vGuef4jrRpTz7dUiYT2h6mMe9Whw6HK_7fYNGRSg2l4ClSx-9s_pqD0K1OalP6luVU5FQG8M2aqq4Sd4XQWMKuTMVpRD9mveUnmjp4/s1600/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}

.effect img {
   opacity:1;
   transform:scale(1,1);
   transition: all 0.2s ease-in;
}

.effect .mask {
   opacity:0;
   overflow:visible;
   border-color:rgba(0,0,0,0.7) transparent transparent transparent;
   border-style:solid;
   border-width:150px;
   width:0;
   height:0;
   transform:translateY(-125px);
   transition: transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
}

.effect a.info {
   opacity:0;
   transform:translateY(-125px);
   transition: transform 0.3s ease-in, opacity 0.1s ease-in-out;
}

.effect:hover img {
   opacity:0.7;
   transform:scale(2,2);
}

.effect:hover .mask {
   opacity: 1;
   transform: translateY(0px);
}

.effect:hover a.info {
   opacity:1;
   transform:translateY(100px);
}
Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.

<div class="view effect"> 
  <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SlqRcblyUpqblV0mqeULWz4DWr7CLRESPXOhFemv4OZscAiNVR3dE_EzoeukJ-3C16SC20au41NMu0DN6YpNM62edBhwoqgn9HJ-HWLYRKXCBmVLX4aYMQOo6sRSTww_6HpN8uWHQV4/s1600/2.jpg" /> 
  <div class="mask"></div>
  <div class="content"> 
    <a href="#" class="info" title="Full Image">Full Image</a> 
  </div> 
</div> 
Step7: Change the Red Colored Images Link with your Image.



Example-2:-

Add a special effect to your image hover effect using box-sizing CSS3 Animation Effects style.Let us follow the Steps.

Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed 
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin>
  
.view {
   width: 300px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
}

.view .mask, .view .content {
   width: 300px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjqf0fdvjZThI8yEqs6eNJmxFf-g7tVeUK-OPm9vGuef4jrRpTz7dUiYT2h6mMe9Whw6HK_7fYNGRSg2l4ClSx-9s_pqD0K1OalP6luVU5FQG8M2aqq4Sd4XQWMKuTMVpRD9mveUnmjp4/s1600/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}

.second-effect .mask {
   opacity: 0;
   overflow:visible;
   border:0px solid rgba(0,0,0,0.7);
   box-sizing:border-box;
   transition: all 0.4s ease-in-out;
}

.second-effect a.info {
   position:relative;
   top:-10px;
   opacity:0;
   transform:scale(0,0);
   transition: transform 0.2s 0.1s ease-in, opacity 0.1s ease-in-out;
}

.second-effect:hover .mask {
   opacity: 1;
   border:100px solid rgba(0,0,0,0.7);
}

.second-effect:hover a.info {
   opacity:1;
   transform:scale(1,1);
   transition-delay:0.3s;
}
  
Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.

<div class="view second-effect"> 
  <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SlqRcblyUpqblV0mqeULWz4DWr7CLRESPXOhFemv4OZscAiNVR3dE_EzoeukJ-3C16SC20au41NMu0DN6YpNM62edBhwoqgn9HJ-HWLYRKXCBmVLX4aYMQOo6sRSTww_6HpN8uWHQV4/s1600/2.jpg" /> 
  <div class="mask"> 
    <a href="#" class="info" title="Full Image">Full Image</a> 
  </div> 
</div>
Step7: Change the Red Colored Images Link with your Image.


Example-3:-

Add a special effect to your image hover effect using  CSS3 Animation Effects style.Let us follow the Steps.

Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed 
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin>

.view {
   width: 300px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
}

.view .mask, .view .content {
   width: 300px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjqf0fdvjZThI8yEqs6eNJmxFf-g7tVeUK-OPm9vGuef4jrRpTz7dUiYT2h6mMe9Whw6HK_7fYNGRSg2l4ClSx-9s_pqD0K1OalP6luVU5FQG8M2aqq4Sd4XQWMKuTMVpRD9mveUnmjp4/s1600/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}
.third-effect .mask {
   opacity: 0;
   overflow:visible;
   border:100px solid rgba(0,0,0,0.7);
   box-sizing:border-box;
   transition: all 0.4s ease-in-out;
}

.third-effect a.info {
   position:relative;
   top:-10px; /* Center the link */
   opacity: 0;
   transition: opacity 0.5s 0s ease-in-out;
}

.third-effect:hover .mask {
   opacity: 1;
   border:100px solid rgba(0,0,0,0.7);
}

.third-effect:hover a.info {
   opacity:1;
   transition-delay: 0.3s;
}
Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.

<div class="view third-effect"> 
  <img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SlqRcblyUpqblV0mqeULWz4DWr7CLRESPXOhFemv4OZscAiNVR3dE_EzoeukJ-3C16SC20au41NMu0DN6YpNM62edBhwoqgn9HJ-HWLYRKXCBmVLX4aYMQOo6sRSTww_6HpN8uWHQV4/s1600/2.jpg" /> 
  <div class="mask"> 
    <a href="#" class="info" title="Full Image">Full Image</a> 
  </div> 
</div>
Step7: Change the Red Colored Images Link with your Image.


Example-4:-

Add a special effect to your image hover effect using visibility which allows the transition while click an image.Let us follow the Steps.

Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed 
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin>

 .view {
   width: 300px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
}

.view .mask, .view .content {
   width: 300px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjqf0fdvjZThI8yEqs6eNJmxFf-g7tVeUK-OPm9vGuef4jrRpTz7dUiYT2h6mMe9Whw6HK_7fYNGRSg2l4ClSx-9s_pqD0K1OalP6luVU5FQG8M2aqq4Sd4XQWMKuTMVpRD9mveUnmjp4/s1600/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}
.fourth-effect .mask {
   position:absolute; /* Center the mask */
   top:50px;
   left:100px;
   cursor:pointer;
   border-radius: 50px;
   border-width: 50px;
   display: inline-block;
   height: 100px;
   width: 100px;
   border: 50px solid rgba(0, 0, 0, 0.7);
   box-sizing:border-box;
   opacity:1;
   visibility:visible;
   transform:scale(4);
   transition:all 0.3s ease-in-out;
}

.fourth-effect:hover .mask {
   opacity: 0;
   border:0px solid rgba(0,0,0,0.7);
   visibility:hidden;
}

Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.



<div class="view fourth-effect"> 
  <a href="#" title="Full Image"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SlqRcblyUpqblV0mqeULWz4DWr7CLRESPXOhFemv4OZscAiNVR3dE_EzoeukJ-3C16SC20au41NMu0DN6YpNM62edBhwoqgn9HJ-HWLYRKXCBmVLX4aYMQOo6sRSTww_6HpN8uWHQV4/s1600/2.jpg" /></a> 
  <div class="mask"></div> 
</div>
Step7: Change the Red Colored Images Link with your Image.



Example-5:-

Add a special effect to your image hover effect using visibility which allows the transition boder style effect while click an image.Let us follow the Steps.

Step 1: Go to Blogger Click the Dashboard then
Step 2: Now Click on Template->Edit HTML-> Proceed 
Step 3: Now Find this code ]]></b:skin> by pressing Ctrl + F
Step 4: Copy the code from below and Paste it  Before/above ]]></b:skin>

.view {
   width: 300px;
   height: 200px;
   margin: 10px;
   float: left;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
   cursor: default;
}

.view .mask, .view .content {
   width: 300px;
   height: 200px;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background:url(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjqf0fdvjZThI8yEqs6eNJmxFf-g7tVeUK-OPm9vGuef4jrRpTz7dUiYT2h6mMe9Whw6HK_7fYNGRSg2l4ClSx-9s_pqD0K1OalP6luVU5FQG8M2aqq4Sd4XQWMKuTMVpRD9mveUnmjp4/s1600/link.png) center no-repeat;
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
}
fifth-effect img {
   opacity:0.2;
   transition: all 0.3s ease-in;
}

.fifth-effect .mask {
   cursor:pointer;
   opacity:1;
   visibility:visible;
   border:100px solid rgba(0,0,0,0.7);
   box-sizing:border-box;
   transition: all 0.4s cubic-bezier(0.940, 0.850, 0.100, 0.620);
}

.fifth-effect:hover .mask {
   border:0px double rgba(0,0,0,0.7);
   opacity:0;
   visibility:hidden;
}

.fifth-effect:hover img {
   opacity:1;
}
Step 5: Click on "Post" then select "Create a Post" then
Step 6: Click HTML then Now Copy the below code and Paste in it.
<div class="view fifth-effect"> 
  <a href="#" title="Full Image"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8SlqRcblyUpqblV0mqeULWz4DWr7CLRESPXOhFemv4OZscAiNVR3dE_EzoeukJ-3C16SC20au41NMu0DN6YpNM62edBhwoqgn9HJ-HWLYRKXCBmVLX4aYMQOo6sRSTww_6HpN8uWHQV4/s1600/2.jpg" /></a> 
  <div class="mask"></div> 
</div>
 Step7: Change the Red Colored Images Link with your Image.



Image Hover Effects
1.33 MB
Image Hover Effects
View a Sample
  • Blogger Comments
  • Facebook Comments

1 comments:

  1. i got more ideas about responsive design. i am also doing and creating evergreen responsive which is take more quality your things are made some idea. keep share more about technical article.
    GMAT classes chennai

    ReplyDelete

Item Reviewed: CSS3 Image Hover Effects with CSS3 Transitions Description: Rating: 5 Reviewed By: Unknown
Scroll to Top