<div class="container">
  <div class="hover-text">Hover Me!</div>
</div>
body {
  height: 100vh;
  display: grid;
  place-items: center;
  font-family: Arial, sans-serif;
}

.container .hover-text {
  font-size: 3.5rem;
  background-color: transparent;
  cursor: pointer;
  padding: 10px;
  -webkit-transition: .15s ease-in-out;
  -moz-transition: .15s ease-in-out;
  transition: .15s ease-in-out;
}

.container .hover-text:hover {
  background-color: #a8d1ff;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.