JSFiddle - React, Tailwind, and code Playground

by AlexP11223

HTML

<p class="font1">Hello</p>
<p class="font2">Hello</p>
<p class="font3">Hello</p>

CSS

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700;800&display=swap');

p {
    font-family: 'Open Sans';
}

.font2 {
    font-weight: 700;
}

.font3 {
    font-weight: 800;
}