Fly up when hovering effect in css


<!DOCTYPE html>
<html>
  <head>
    <style type='text/css'>
      ul {
        list-style-type: none;
      }
      li {
        float: left;
        margin: 5px;
      }
      a {
        display: block;
        line-height: 2500px;
        height: 100px;
        width: 100px;
        border-radius: 0 100px 100px 100px;
        text-align: center;
        background-color: #ccc;
        color: transparent;
        text-shadow: 0px 0px 100px rgba(0, 0, 0, 0);
        -webkit-transition: all .6s ease-in;
      }

      a:hover {
        background-color: #eee;
        line-height: 100px;
        text-shadow: 0px 0px 0px rgba(0, 0, 0, 1);
        -webkit-transition: all 0 ease-out;
      }
    </style>
  </head>
<body>
  <ul>
    <li><a href="#">1</a></li>
    <li><a href="#">2</a></li>
    <li><a href="#">3</a></li>
    <li><a href="#">4</a></li>
    <li><a href="#">5</a></li>
  </ul>
</body>
</html>

Comments

Popular posts from this blog

Shutdown Computer With Funny Reason

Hidden Attribute in javascript

Draw animated loading spinner canvas in Javascript