"Quote Box CSS Effect"
Bootstrap 4.1.1 Snippet by neerajposwal

<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 ----------> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> <!-- jQuery library --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <!-- Popper JS --> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <!-- Latest compiled JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.0/css/all.css" integrity="sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ" crossorigin="anonymous"> <title>quote box</title> <style> </style> <head> <body> <div class="qbox"> <div class="col-lg-12"> <div class="col-lg-6"> <h1 style="text-align:left;margin-left:5%;font-variant:small-caps;">Famous<span style="color:#f54287">Q<span style="color:#19e6c3" >u</span>o<span style="color:#19e6c3" >t</span>e</span> Box</h1> <div class="col-lg-6"> <div class="qicons"> <i class="fas fa-search" id="qicon"></i> <i class="fas fa-home" id="qicon"></i> <i class="fas fa-igloo" id="qicon"></i> <i class="far fa-snowflake" id="qicon"></i> </div> </div> </div> </div> <div class="col-lg-12 quote" style="width:100%;height:auto;"> <div class="col-lg-4 qute"> <div class="box box1"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages</p> <h2 class="quotebox1"> Quote <span style="color:#19e6c3">Box One</span></h2> </div> <div class="bg"></div> </div> <div class="col-lg-4 qute"> <div class="box box2"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages</p> <h2 class="quotebox1"> Quote <span style="color:#19e6c3">Box Two</span></h2> </div> <div class="bg"></div> </div> <div class="col-lg-4 qute"> <div class="box box3"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages</p> <h2 class="quotebox1"> Quote <span style="color:#19e6c3">Box Three</span></h2> </div> <div class="bg"></div> </div> </div> </div> </body> </html>
.qbox{ margin:0; padding:0px; display:lnline-block; justify-content:center; align-items:center; font-family:'poppins',sans-serif; margin-bottom:50px; } .qute{ top:20%; } .quote{ width:100%; height:70%; display:inline-flex; flex-wrap:wrap; justify-content:space-between; z-index:2; padding:0px; margin:0px; } .quote .box{ margin-top:0%; width:400px; height:400px; position:relative; grid-row-end:400px; background: #fff; overflow:hidden; transition:0.5s; z-index:2; box-sizing:border-box; padding:40px; box-shadow: -10px 25px 50px rgba(0,0,0,.2); } .quote .box:hover{ box-shadow:-20px 50px 100px rgba(0,0,0,.5); } .quote.bg{ position:absolute; top:0; left:0; z-index:1; opacity:0; transition:1s; pointer-events: none; } .quote .box.box1:hover ~ .bg, .quote .box.box1:hover { opacity:1; background:linear-gradient(#03A9F4,#E91E63); } .quote .box.box1:hover{ opacity:1; background:linear-gradient(#03A9F4,#E91E63); } .quote .box.box2:hover ~ .bg, .quote .box.box2:hover { opacity:1; background:linear-gradient(#FFC107,#19fd36); } .quote .box.box3:hover ~ .bg, .quote .box.box3:hover { opacity:1; background:linear-gradient(#FFC107,#E91E63); } .quotebox1 { font-size:20px; float:right; font-variant:small-caps; } .qicons { padding:20px; font-size:30px; float:right; } #qicon { padding:10px; color:red; } #qicon:hover { color:blu e; border-radius:100%; }

Related: See More


Questions / Comments: