<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="trans.css">
</head>
<body>
    <a href="#">Join Now!</a>  
</body>
</html>
a {
    display: block;
    width: 300px;
    padding: 31px 5px;
    border-radius: 5px;
    margin: 20% auto;
    background-color: pink;
    text-align: center;
    font-family: Helvetica;
    font-size: 32px;
    color: mintcream;
    transition-property:
    background-color;
    transition-timing-function: ease-in-out;
    transition-duration: 2s;
  }
  
  a:hover {
    background-color: limegreen;
    
  }
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.