Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"BOOTSTRAP CSS BUTTON HOVER EFECTS"
Bootstrap 4.1.1 Snippet by
Pushpender
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
2.6K
 
1 Fav
Post to Facebook
Tweet this
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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> BUTTON HOVER EFECTS</h2> </div> <p style="color:#fff">button hover effects button hover effects button hover effects</p> <div class"box-main"> <button class="btn hover1"><samp>></samp><span>Hover Me</span></button> <button class="btn hover1"><samp>></samp><span>Hover Me</span></button> <button class="btn hover1"><samp>></samp><span>Hover Me</span></button> <button class="btn hover1"><samp>></samp><span>Hover Me</span></button> <button class="btn hover1"><samp>></samp><span>Hover Me</span></button> </div> <hr> <a href="#" class="new"><samp>Hover Me</samp></a> <a href="#" class="new"><samp>Hover Me</samp></a> <a href="#" class="new"><samp>Hover Me</samp></a> <a href="#" class="new"><samp>Hover Me</samp></a> <a href="#" class="new"><samp>Hover Me</samp></a> </div>
.btn{font-size:18px; padding:8px 15px 8px 10px;position: relative; border:none; overflow:hidden;} .btn samp{display:inline-block; margin-right:20px; position: relative; z-index:1; color:#fff;} .btn:before{content:"";position: absolute; top:0; left:0; width:20%; background:#337AB7; height:100%; transition:all ease-in-out 0.5s; } .btn span{position: relative; z-index:1;} .btn:hover:before{width:100%;} .btn:hover span{color:#fff;} .new{font-size:14px; padding:10px 15px 8px 10px;position: relative; color:#fff; text-decoration:none; background:#00B2FF; display:inline-block; transition:all ease-in-out 0.5s; } .new samp{font-family: 'Airl', sans-serif; position: relative; z-index:1;} .new::after{content:"";position: absolute; width:100%; height:9%; left:0; bottom:0; background:#BA30FF; transition:all ease-in-out 0.5s; } .new:hover::after{height:100%; transition:all ease-in-out 0.5s;} .new:hover{color:#fff;text-decoration:none;} body{background:url(https://i.gifer.com/LDci.gif)} h2{color:#fff; font-family: 'Airl', sans-serif;}
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76