<a href="#" class="btn1">ボタンはこちら1</a>
.btn1 {
  display: inline-block;
  padding: 1em;
  text-decoration: none;
  background: #3F51B5;
  color: #FFF;
  border-radius: 3px;
  transition: all 0.3s ease 0s;
}

.btn1:hover {
  opacity: 0.6;
}
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.