<button class="btn" onClick="alert('clicked!')">Important button</button>
body {margin: 50px}

.btn {
  text-transform: uppercase;
  color: #fff;
  background-color: #cc1c1c;
  padding: 0.5em 1em;
  font-size: 16px;
  line-height: 1.5;
  border: none;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background-color: #e67070;
}

.btn:focus {
  outline: none;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.