<div>
  <a href="#" class="btn5">
    ボタンはこちら5
  </a>
</div>
.btn5 {
  display: inline-block;
  padding: 1em;
  text-decoration: none;
  color: #3F51B5;
  border: solid 2px #3F51B5;
  border-radius: 3px;
  transition: .4s;
  width: 200px;
  text-align: center;
}

.btn5:hover {
  background: #3F51B5;
  color: #FFF;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.