AIT Experiement no1

<!DOCTYPE html>
<html>
<head>
<style> 
div {
    width: 100px;
    height: 100px;
    background: red;
    position:relative;
   transition: height 5s, height 2s, transform 2s  ;
    ;
     animation-name: example;
    animation-duration: 10s;
}
@keyframes example {
    0%   {background-color:red; left:0px; top:0px;}
    25%  {background-color:yellow; left:200px; top:0px;}
    50%  {background-color:blue; left:200px; top:200px;}
    75%  {background-color:green; left:0px; top:200px;}
    100% {background-color:red; left:0px; top:0px;}
    }
div:hover {
    height: 150px;
    width: 150px;
     transform: rotate(180deg);
}
</style>
</head>
<body>
<div></div>
</body>
</html>



click here to download 
AIT Experiement no1 AIT Experiement no1 Reviewed by akshay salve on 12:08 AM Rating: 5

No comments:

Powered by Blogger.