h1.entry-title { font-size: 36px; position: relative; display: inline-block; cursor: pointer; } h1.entry-title::after { content: ""; display: block; width: 0; height: 3px; background: #3498db; transition: width .3s; margin-top: 5px; } h1.entry-title:hover::after { width: 100%; }

Tagged: AU