"Animated Text Hover"
Bootstrap 3.0.0 Snippet by ALIMUL AL RAZY

<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <link rel="stylesheet" href="style.css"> <title>Text Effects</title> </head> <body> <span class="text">Bangladesh</span> </body> </html>
body{ margin: 0; padding: 0; font-family: sans; } .text{ position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); font-size: 120px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: gray; } .text:before{ content: 'Bangladesh'; color: black; position: absolute; width: 0; overflow: hidden; transition: 0.9s; } .text:hover:before{ width: 100%; cursor:pointer; }

Related: See More


Questions / Comments: