Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * The first commented line is your dabblet’s title
- */
- @-webkit-keyframes animation{
- 0% {opacity: 0.5;}
- 50% {opacity: 1;}
- 100% {opacity: 0.5;}
- }
- @-webkit-keyframes animation2{
- 0% {-webkit-transform: rotate(0deg), scale(2,3);background:green;left:600px;}
- 50% {-webkit-transform: rotate(180deg);background:red;left:100px;}
- 100% {-webkit-transform: rotate(0deg);background:green;left:600px;}
- }
- li{
- display:inline;}
- #am1{
- position:relative;
- display:block;
- width:100px;
- height:200px;
- left:100px;
- background:rgba(15,52,5,255);
- -webkit-animation: animation 5s infinite, animation2 5s infinite;
- color:rgba(128,15,23,255);
- }
Add Comment
Please, Sign In to add comment