.mega{position:relative}.mega:after{content:"";position:absolute;bottom:0;left:0;height:4px;width:0;background-color:gold;transition:width .3s ease}.mega:hover:after,div.is-active:after{width:100%}