JSFiddle - React, Tailwind, and code Playground
HTML
<h1>Title Here</h1>
<div class="divA"></div>
<div class="divB"></div>
CSS
h1{
font-size: 50px;
font-weight: 700;
}
.divA{
height: 1px;
border-bottom: 2px solid black;
}
.divB{
height: 1px;
border-bottom: 1px solid black;
}