"Image Heading Design"
Bootstrap 3.3.0 Snippet by imsachin

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.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 ----------> <!DOCTYPE html> <html lang="en"> <head> <title>HTML</title> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <!--[if IE]> <link href="~/Content/NewHomePage/all-ie-only.css" rel="stylesheet" /> <![endif]--> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="style.css"> </head> <body> <!-- Our Deal --> <section class="container-fluid our-deals"> <div class="row"> <div class="container"> <h3 class="titles"> <strong> Top Deals </strong> </h3> <p class="title-tagline"> Lorem ipsum dolor sit, amet consectetur adipisicing elit. Adipisci quas dolore excepturi iste libero architecto. Error adipisci, totam possimus et nulla voluptatem minus odio cum quasi qui, alias iusto vero. </p> <div class="row"> <div class="col-md-4 col-sm-6 col-xs-12"> <div class="imgBoxs"> <p class="ribs"> Red Fort </p> <img src="https://bestjquery.com/tutorial/hover-effect/demo147/images/img-2.jpg" alt="image" class="img-responsive"> <div class="deal-prc-box"> <div class="deal-Ltxt"> <h4 class="mr0"> New York to Delhi </h4> <p class="mr0"> (3 Days and 2 Nights) </p> </div> <div class="deal-Rbtn"> <a href="" class="btn btn-default">Explore</a> </div> </div> </div> </div> </div> </div> </div> </section> </body> </html>
/* -- our deals -- */ .our-deals .imgBoxs {position:relative; z-index:1; width:100%; margin-bottom: 30px;} .our-deals .ribs {position: relative; padding: 5px 10px;margin: 0 -10px 0px;font-size: 24px;font-weight: bold;text-align: center;color: #fff; background-image: linear-gradient(0deg,#98001b,#ff002e,#ff002e,#b70222);background-color: #ff002e;text-shadow: 0px 5px 5px rgb(0, 0, 0);-webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.2);-moz-box-shadow: 0 1px 1px rgba(0,0,0,0.2);box-shadow: 0 1px 1px rgba(0,0,0,0.2);border-top-left-radius: 3px;border-top-right-radius: 3px;zoom:1; text-transform: uppercase;} .our-deals .ribs:before,.our-deals .ribs:after {content:"";position:absolute;z-index:-1;top:100%;left:0;border-width:0 15px 20px 0;border-style:solid;border-color:transparent #b30625;} .our-deals .ribs:after {left:auto;right:0;border-width:0 0 20px 15px;} .our-deals .deal-prc-box {position:absolute;z-index:1;bottom: 0;width: 100%; background-color: rgba(0, 0, 0, 0.65); color: #fff; padding: 10px;} .our-deals .deal-prc-box .deal-Ltxt {float: left;margin-bottom: 0;} .our-deals .deal-prc-box .deal-Rbtn {float: right;margin-bottom: 0;} .our-deals .deal-prc-box .deal-Rbtn .btn-default, .our-deals .deal-prc-box .deal-Rbtn .btn-default:hover, .our-deals .deal-prc-box .deal-Rbtn .btn-default:focus { color: #fff;background-color: #ff002e;border-radius: 2px;font-weight: 500;border: none;outline: none; background-image: linear-gradient(5deg,#ff002e,#8e021c,#ff002e,#98011c);}

Related: See More


Questions / Comments: