A Pen by Anthony Welc

Thumbnail
This awesome code was written by AnthonyWelc, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright AnthonyWelc ©

Technologies

  • HTML
  • CSS
<!DOCTYPE html>
<html lang="en" >

<head>
  <meta charset="UTF-8">
  <title>A Pen by  Anthony Welc</title>
  
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">

  
      <link rel="stylesheet" href="css/style.css">

  
</head>

<body>

  <h1>Test Typo</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ipsa, blanditiis facere, quas corporis consectetur illum numquam sapiente atque vel quia dignissimos iure earum autem, et natus corrupti dolorum error totam.</p>
  
  

</body>

</html>

/*Downloaded from https://www.codeseek.co/AnthonyWelc/a-pen-by-anthony-welc-mMezaB */
body {
  font-size: calc(16px + (26 - 16) * ((100vw - 300px) / (1600 - 300)));
  line-height: 1.5;
}

Comments