JSFiddle - React, Tailwind, and code Playground

by Timar

HTML

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Katibeh Font Example</title>
    <!-- Google Font: Katibeh -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Katibeh&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: 'Katibeh', cursive;
            ascent-override: normal;
        }
        @font-face {
          font-family: 'Katibeh';
          ascent-override: 25%;
        }
        h1 {
          background: red;
          margin:0;
        }
    </style>
</head>
<body>
On windows theres extra space on the top.<br>
  ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
    <h1>Hello, this is the Katibeh font!</h1>
    ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑<br>
    On linux/samsung theres extra space on the bottom.
</body>
</html>