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
"Ahmed Elsheikh -banner"
Bootstrap 4.1.1 Snippet by
Nemra1
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
3.2K
 
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 ----------> <section id="categorybanner" class="categorybanner"> <div class="col-md-12"> <div class="row"> <!-- item--> <div class="col-md-4 categorybanner_item"> <div class="categorybanner_image"> <img src="http://magicclubgroup.com/bapor/img/banner/banner1.jpg" alt="banner1"> </div> <div class="categorybanner_title dark-bg"> <h5><a href="#">Women's Formal Wear</a></h5> <h3> 20-50% Off</h3> </div> </div> <!-- item--> <div class="col-md-4 categorybanner_item"> <div class="categorybanner_image"> <img src="http://magicclubgroup.com/bapor/img/banner/banner2.jpg" alt="banner1"> </div> <div class="categorybanner_title dark-bg"> <h5><a href="#">Men's Formal Wear</a></h5> <h3> 50-80% Off </h3> </div> </div> <!-- item--> <div class="col-md-4 categorybanner_item"> <div class="categorybanner_image"> <img src="http://magicclubgroup.com/bapor/img/banner/banner3.jpg" alt="banner1"> </div> <div class="categorybanner_title text-left"> <h5><a href="#">Kid's</a></h5> <h3> Up To 80% Off </h3> </div> </div> </div> </div> </section>
/*******************************************************************/ /* Category Banner */ /*******************************************************************/ .categorybanner .categorybanner_item { padding: 0; position: relative; overflow: hidden; } .categorybanner .categorybanner_item .categorybanner_title { transform: translateY(-50%); -moz-transform: translateY(-50%); -ms-transform: translateY(-50%); -o-transform: translateY(-50%); -webkit-transform: translateY(-50%); position: absolute; top: 50%; right: 5%; z-index: 2; } .categorybanner .categorybanner_item .categorybanner_title h6 { position: relative; } .categorybanner .categorybanner_item .categorybanner_title.text-left { left: 5%; } .categorybanner .categorybanner_item .categorybanner_image:before { background-color: rgba(0, 0, 0, 0.5); content: ""; height: 100%; left: 0; position: absolute; top: 0; transform: scale(0); transition: all 0.5s ease 0s; -o-transition: all 0.5s ease 0s; -moz-transition: all 0.5s ease 0s; -webkit-transition: all 0.5s ease 0s; width: 100%; z-index: 1; } .categorybanner .categorybanner_item:hover .categorybanner_image:before { transform: scale(1); }
Related:
See More
Free Template
Paper Dashboard React
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76