"text bottom hover effect"
Bootstrap 4.0.0 Snippet by ALIMUL AL RAZY

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <a href="#" class="anim">About</a> </div> </div>
a{ position: relative; font-size: 18px; color: #000; font-weight: bold; text-decoration: none; } a:hover{ text-decoration: none !important; } a:hover:after { visibility: visible; -webkit-transform: scaleX(1); transform: scaleX(1); text-decoration: none !important; } a:after{ content: ""; position: absolute; width: 100%; height: 1px; margin-top: 4px; bottom: 0; left: 0; background-color: #000; visibility: hidden; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transition: all .2s ease-in-out 0s; transition: all .2s ease-in-out 0s; } *, ::after, ::before { border-style: solid; border-width: 0; }

Related: See More


Questions / Comments: