h1:after { background: none repeat scroll 0 0 #HEXCOLOR; bottom: -10px; content: ""; display: block; height: 10px; position: relative; width: 100px; }