C# Jadu
  • Home
  • Asp.net
  • Web Design
    • Html
    • Css
    • Java Script
  • Bootstrap
  • Sql
    • Queries
    • Stored Procedures
  • About Me
    • About Myself
    • My Projects
    • My CV
  • Gallery
  • Do you Know?

Monday, 4 April 2016

How To Create Image wipe Effect With CSS3 Webkit Animation

 Deepak Chaudhary     10:32     Css, Html     5 comments   

Hi Friends...

In this article we learn how to create a Image wipe effect with CSS3. CSS transition and animations provide a way for web developers to describe various kind of animation of CSS properties.
you can use this code in your project copy this code and paste it.

Demo : 

C# jadu Image Wipe
Smile
Sleep


Your Code is as under

<!DOCtYPE htMl>
<html>

<head>
<meta charset="utf-8">
<title>C# jadu Image Wipe</title>
<style>

@-webkit-keyframes wipe {
0% {
-webkit-mask-position: 0 0;
}
100% {
-webkit-mask-position: -1200px -1200px;
}
}
#rollover {
width: 330px;
height: 310px;
position: relative;
border: 8px solid #eee;
            margin-left: 50px;
            margin-top: 50px;
-webkit-box-shadow: 1px 1px 3px rgba(0,0,0,0.75);
}
#rollover div {
position: absolute;
top: 0;
left: 0;   
}
#rollover div:nth-child(2) {
-webkit-transition: -webkit-mask-position 1s ease;
-webkit-mask-size: 600px 600px;
-webkit-mask-image: -webkit-gradient(linear, left top, right top, 
color-stop(0.00,  rgba(0,0,0,1)),
color-stop(0.35,  rgba(0,0,0,1)),
color-stop(0.50,  rgba(0,0,0,0)),
color-stop(0.75,  rgba(0,0,0,0)),
color-stop(1.00,  rgba(0,0,0,0)));
}
#rollover div:nth-child(2):hover {
-webkit-mask-position: -300px -300px;
}
</style>

</head>

<body>
<div id="page-wrap">
<div id="rollover">
<div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK7s8u_-x9YxvDCbFYDmafrKWLtODwK86C3LncDREP6q4RH2214oazFpH33V602ftM74TnWABF5fT-VLMo6jxNmUjSrTuuN4K5I2gHjzVRvDSX9lS2ipayUe5nKm_y9_uASW6HU_TqIi8B/s1600-r/finalc%2523logoPNGupdated.png" alt="Smile"></div>
<div><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgt5CYXF1Vf7qbftg_Rh5O5oT6PK34tYN6XvBk5DuLiGQAJ7uO2FrYY9XmwqmB1Ac5QTyn3Iv6LiqbIeQ0QQeO-5uZMF3r5BzSABZ0g7DQ-47l__PRR7Bm0o-nB5fcCBxsOerlrT90JW4z_/s320/3D+Cube_C%2523+jadu.jpg" alt="Sleep"></div>
</div>
</div>
</body>
</html>
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

5 comments:

  1. Unknown8 January 2017 at 23:01

    Hi to every one, the contents present at this site are
    actually remarkable for people experience, well, keep up the good work fellows.
    school prospectus design uk | School Prospectus UK

    ReplyDelete
    Replies
    1. Deepak Chaudhary9 January 2017 at 09:58

      Thanks Jessica

      Delete
      Replies
        Reply
    2. Reply
  2. Unknown31 January 2017 at 04:38

    awesome environment and can do more things from yours. really great to gain more interesting content from yours. thanks keep share more good things.
    GMAT classes chennai

    ReplyDelete
    Replies
    1. Deepak Chaudhary31 January 2017 at 11:21

      Thanks Thamizharasi

      Delete
      Replies
        Reply
    2. Reply
  3. Unknown3 February 2017 at 21:05

    http://dotnetmodules.blogspot.in/2016/01/css-3d-cube.html



    For More Examples go here...

    ReplyDelete
    Replies
      Reply
Add comment
Load more...

Most Popular posts

  • How To Create Image wipe Effect With CSS3 Webkit Animation
    Hi Friends... In this article we learn how to create a Image wipe effect with CSS3. CSS transition and animations provide a way for web de...
  • CSS 3D Cube
    Hi Friends... CSS cubes really showcase what CSS has become over the years, evolving from simple color and dimension directives to a lang...
  • Interesting facts about India | Aware Talk
    1. Shampooing is an Indian concept Shampoo was invented in India, not the commercial liquid ones but the method by use of herbs. ...

About Me

Deepak Chaudhary
View my complete profile

Copyright © C# Jadu | Powered by Blogger
Design by Deepak Chaudhary