<button>Click Me!</button>
@import url("https://fonts.googleapis.com/css2?family=Exo:wght@600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  line-height: 1.5;
  font-size: 15px;
  font-weight: 400;
}

body {
  width: 100vw;
  min-height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;

  font-family: "Exo", Arial, sans-serif;
  background-color: #151522;
  color: #fff;
}

button {
  background-color: #2c303a;
  border: none 0;
  color: #9b9dad;
  padding: 1rem 1.75rem;
  font-size: 1.2rem;
  transition: all 0.2s linear;
  border-radius: 4px;
  font-family: "Exo", Arial, sans-serif;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

button:hover {
  color: #fff;
  background-color: #5a5f73;
}

button:focus:not(:focus-visible) {
  outline: none;
  background-color: #3e4454;
  color: #fff;
}

button:focus-visible {
  outline: none;
  background-color: #3d4352;
  color: #fff;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.