Cairo
Typography is the craft of endowing human language with a durable visual form. Good body text disappears: the reader not…
Category · 5 min read
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت صِف خَلقَ خَودِ كَمِثلِ الشَمسِ إِذ بَزَغَت
Every line is editable: paste your real headline and copy. How to use this page
| Cairo | Mirza | |
|---|---|---|
| Category | Sans-serif | Serif |
| Designer | Mohamed Gaber, Accademia di Belle Arti di Urbino | KB Studio |
| Styles | 9 (variable) | 4 |
| Weights | 200, 300, 400, 500, 600, 700, 800, 900, 1000 | 400, 500, 600, 700 |
| Italics | Yes | No |
| Licence | OFL | OFL |
| Popularity | #81 | #1059 |
<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=Cairo:ital,wght@0,200..1000;1,200..1000&family=Mirza:wght@400;500;600;700&display=swap" rel="stylesheet">One request loads both families.
body {
font-family: "Mirza", Georgia, 'Times New Roman', serif;
font-size: 1.0625rem; /* 17px */
line-height: 1.7;
}
h1, h2, h3 {
font-family: "Cairo", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
font-weight: 700;
line-height: 1;
letter-spacing: -0.01em;
}
h1 { font-size: 2.66rem; }
h2 { font-size: 2.13rem; }Cairo on headings, Mirza everywhere else. Sizes and spacing are tuned to these two fonts' proportions.
@import "tailwindcss";
@theme {
--font-sans: "Mirza", Georgia, 'Times New Roman', serif;
--font-display: "Cairo", system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
/* <h1 class="font-display"> … <p class="font-sans"> */Add the <link> from the HTML tab to load the fonts.
@import url('https://fonts.googleapis.com/css2?family=Cairo:ital,wght@0,200..1000;1,200..1000&family=Mirza:wght@400;500;600;700&display=swap');Put it at the very top of your stylesheet.