<link href="https://fonts.googleapis.com/css2?family=Monoton&display=swap" rel="stylesheet">

<p id="myText">I track in and out</p>
@-webkit-keyframes track-in-out {
  0% {
    letter-spacing: 1em;
    opacity: 0;
  }
  20% {
    letter-spacing: normal;
    opacity: 1;
  }
  80% {
    letter-spacing: normal;
    opacity: 1;
  }
  100% {
    letter-spacing: 1em;
    opacity: 0;
  }
}

#myText{
  font-size: 40px;
  margin-top: 50px;
  color: #009499;
  word-spacing: 10px;
  text-shadow: 2px 2px 5px grey;
  width: 100%;
  text-align: center;
  font-family: 'Monoton', cursive;
  animation-name: track-in-out;
  animation-duration: 7s;
  animation-iteration-count: infinite;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.