Since you can underline any text in CSS like so:
h4 {
text-decoration: underline;
}
How can you also then edit the \'line\' that is drawn
Another way to do this is using ":after" (pseudo-element) on the element you want to underline.
h2{
position:relative;
display:inline-block;
font-weight:700;
font-family:arial,sans-serif;
text-transform:uppercase;
font-size:3em;
}
h2:after{
content:"";
position:absolute;
left:0;
bottom:0;
right:0;
margin:auto;
background:#000;
height:1px;
}