A Pen by Hugo des Gayets

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

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Hugo des Gayets</title>
  
  
  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <button>☕</button>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/hugodesgayets/a-pen-by-hugo-des-gayets-RygxVR */
button {
  background: #EEE;
  float: right;
  user-select: none;
  display: inline-block;
  width: 3em;
  transition: .1s ease-out;
  overflow: hidden;
  white-space: nowrap;
  font-size: 18px;
  border: none;
  outline: none;
  border-radius: 10px;
  cursor: pointer;
}

button:hover {
  width: 150px;
}

button:hover::after{
  content: "Let's talk";
}

Comments