Button Fade Up

In this example below you will see how to do a Button Fade Up with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by DaBigCheeze, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright DaBigCheeze ©
  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>Button Fade Up</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  
<div class="fadebutton">
  <a href="#">Hello</a>
</div>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/DaBigCheeze/button-fade-up-KvNJOa */
.fadebutton {
  padding: 7px 20px 9px 20px;
  display: inline;
  height: 40px;
  border: 4px solid #c43451;
  margin: -9px 0 12px 2%;
  transition: all ease 0.8s;
}

.fadebutton:hover{
  box-shadow: inset 0 -100px 0 0 #c43451;
}

.fadebutton a {
  display: inline;
  text-decoration: none;
  font-weight: 700;
  color: #000;
  text-align: center;
  font-size:14px;
  transition: all ease .6s;
}

.fadebutton:hover a {
  display: inline;
  text-decoration: none;
  font-weight: 700;
  color: #fff;
  text-align: center;
  font-size:14px;
}

Comments