position:relative; } .widget.skin70 .widgetViewAll::after{ position:absolute; transition: all .3s ease-in-out; content:""; width:50px; height:5px; border-radius:3px; bottom:-7px; left:50%; transform:translateX(-50%); background:#D6A251; } .widget.skin70 .widgetViewAll:hover:after, .widget.skin70 .widgetViewAll:focus:after, .widget.skin70 .widgetViewAll:active:after{ width:75px