Calculate the font-size for a full screen title with a specific font.

The solution will output a ...vw value.

Select your options

Code

<div class="title-container">
  <h2 class="title">{title}</h2>
</div>
.title-container {
  overflow: hidden;
  max-width: 100vw;
}
.title {
  font-size: 1vw;
  font-family: "";
  font-weight: "";
  letter-spacing: "";
  line-height: 1.2;
  white-space: nowrap;
}