<a href="" class="btn">Hover Me</a>
@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: 'Rubik', sans-serif;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color:#bedcfa;
}

a {
  text-decoration: none;
  display: inline-block;
  font-size: 20px;
  width: 240px;
  padding: 1em 2em;
  text-align:center;
  letter-spacing: .10em;
  background: #000000;
  color: #ffffff;
  border-radius: .3em;
  transition: all 0.4s ease;
}

.btn {
  position: relative;
  top: 0px;
  left: 0px;
}

.btn:hover {
  box-shadow: 10px 10px 0px #a7a7a7;
  top: -5px;
  left: -5px;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.