JSFiddle - React, Tailwind, and code Playground
by 규연 황
HTML
<span class="textbox">
Before seeing this,I thought he is going to do it with pseudo elements to get this effect.But Kevin gives is another easy trick.Thankyou Kevin Powell. -Your Student
</span>
CSS
.textbox {
display: inline;
/* background-image: linear-gradient(red, red);
background-repeat: no-repeat;
background-position: bottom left;
background-size: 100% 3px; */
box-shadow: inset 0 -5px 0 0 red;
}