<div class="semver">
  <span class="semver__major">1</span>.<span class="semver__minor">4</span>.<span class="semver__patch">10</span>
</div>
body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.semver {
  font-family: "Roboto", sans-serif;
  text-align: center;
  font-size: 70px;
  font-weight: bold;
  line-height: 1.2;

  &__major {
    color: #f3d17c;
  }
  &__minor {
    color: #af99eb;
  }
  &__patch {
    color: #90c185;
  }
}
View Compiled

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.