Div Rotated

#coded by DEVANSH mishra#

<!DOCTYPE html>
<html>

<head>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <style>
   .an{
  width:250px;
  height:150px;
  color:white;
  Background:oranered;
  border:20px ridge royalblue;
  text-align:center;
  font-style:bold;
  line-height:150px;
  font-size:2em;
  margin-left:12%;
  margin-top:15%;
  border-radius: 60%;
 transition :1.5s;
 animation :divanim 500ms Infinite;
}

  @-webkit-keyframes divanim{
    from{background :rgb(179,6,6);}
    to{background :rgb(150,11,80);}
}

 @keyframes divanim{
    from{background :rgb(179,6,6);}
    to{background :rgb(150,11,80);}
}

 .an:hover{
  transform:rotate(1800deg);
 background :#631876;
}

  </style>
</head>

<body>
 <div class="an">Devansh Mishra</div>
</body>

</html>

Comments

Popular posts from this blog

Chandrayan 3 Mission Special :Animation

Python Basic Programs By Devansh Mishra.

" Words moving in circular motion as Tiny Particles " Animation