JSFiddle - React, Tailwind, and code Playground

HTML

<h1>Некий заголовок некоего раздела страницы</h1>

CSS

body {
    background: #ccc;
}

h1 {
    position: relative;
    color: brown;
    font: 20px sans-serif;
    text-transform: uppercase;
    overflow: hidden;
}
h1:after {
    content: '';
    position: absolute;
    width: 100%;
    bottom: 0;
    border-bottom: 1px solid;
}