"underline text effect left to right"
Bootstrap 4.0.0 Snippet by muhittinbudak

<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"> <h2 class="mt-5" style="color:yellow">Left to right</h2> <span class="underline-effect w-100">Selam Muhittin</span> </div> </div>
body { background-color: #464d61; } .underline-effect { position: relative; display: inline-block; font-size: 70px; color: #a1e0ff; text-decoration: none; cursor: pointer; font-weight: bold; } .underline-effect::after { content: ''; position: absolute; left: 0; bottom: 0; /* yazının altına tam oturması için 0 daha iyi */ width: 0; height: 5px; background-color: #f1ff54; transition: width 0.3s ease-in-out; } .underline-effect:hover::after { width: 100%; }

Questions / Comments: