"button 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"> <div class="btn-container"> <a class="btn standard-btn" href="#">Order Now!</a> </div> </div> </div>
.btn-container { display: inline-block; padding: 16px 0px; margin: 0px 16px; overflow: hidden; } *, *:before, *:after { padding: 0px; margin: 0px; transition: 0.3s; } .standard-btn { color: #34495e; border: solid 1px #34495e; font-size: 1rem; position: relative; z-index: 1; padding: 15px 30px; cursor: pointer; font-size: 1.2rem; text-transform: uppercase; background: transparent; } .standard-btn:before { display: block; position: absolute; top: 0px; left: 0px; width: 0px; height: 100%; z-index: -1; content: ""; background: #34495e; } .standard-btn:hover { color: #fff; border: solid 1px #34495e; } .standard-btn:hover:before { width: 100%; }

Related: See More


Questions / Comments: