"Ahmed Elsheikh -banner"
Bootstrap 4.1.1 Snippet by Nemra1

<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


Questions / Comments: