<div class="wrapper">
  <a href="#"> Click Me!</a>
</div>
body{
  background: #262626;
  font-family: 'Roboto', sans-serif;
}

.wrapper{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

a{
  display: block;
  width: 150px;
  line-height: 40px;
  background: orangered;
  text-align: center;
  position: relative;
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
}

a:before,
a:after{
  position: absolute;
  content: "";
  transition: all .25s;
}

a:before{
  border-bottom: 2px solid yellow;
  border-left: 2px solid yellow;
  width: 10%;
  height: 33%;
  left: -10px;
  bottom: -10px;
}

a:after{
  border-top: 2px solid yellow;
  border-right: 2px solid yellow;
  width: 10%;
  height: 33%;
  top: -10px;
  right: -10px;
}

a:hover:before{
  width: 112%;
  height: 140%;
}

a:hover:after{
  width: 112%;
  height: 140%;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.