<div id="body">
  <a>Hover Over Me!</a>
</div>
a {
  color: blue;
  margin: auto;
}

a:hover {
  color: red
}

#body {
  font-size: 2em;
  display: flex;
  height: 100vh;
  align-items: center;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.