"Hover Effect With Jumbotron"
Bootstrap 4.1.1 Snippet by anjalish

<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 ----------> <link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@200&family=Sacramento&display=swap" rel="stylesheet"> <section> <div class="container"> <div class="row"> <div class="col-md-6 col-lg-6 col-xl-6"> <div class="jumbotron jmb1"> <h1>A Bootstrap Guide</h1> <p>Bootstrap is the most popular HTML, CSS...</p> </div> </div> <div class="col-md-6 col-lg-6 col-xl-6"> <div class="jumbotron jmb2"> <h1>A Bootstrap Guide</h1> <p>Bootstrap is the most popular HTML, CSS...</p> </div> </div> </div> <!--second row--> <div class="row"> <div class="col-md-4 col-lg-4 col-xl-4"> <div class="jumbotron jmb1"> <h1>A Bootstrap Guide</h1> <p>Bootstrap is the most popular HTML, CSS...</p> </div> </div> <div class="col-md-4 col-lg-4 col-xl-4"> <div class="jumbotron jmb2"> <h1>A Bootstrap Guide</h1> <p>Bootstrap is the most popular HTML, CSS...</p> </div> </div> <div class="col-md-4 col-lg-4 col-xl-4"> <div class="jumbotron jmb2"> <h1>A Bootstrap Guide</h1> <p>Bootstrap is the most popular HTML, CSS...</p> </div> </div> </div> </div> </section>
.jmb1:hover { transform: scale3d(1.1, 1.1, 1.1); transition: 0.2s ease-out; background-color: linear-gradient(yellow,green); background-image: linear-gradient(45deg, #17a2b8, #007bffb8,#ffffffc9); color: white; text-shadow: 2px 2px 2px black;} .jmb2:hover { transform: scale3d(1.1, 1.1, 1.1); transition: 0.2s ease-out; background-color: linear-gradient(yellow,green); background-image: linear-gradient(45deg, #17a2b8, #007bffb8,#ffffffc9); color: white; text-shadow: 2px 2px 2px black;} .jumbotron h1 { font-family: 'Sacramento', cursive;}

Related: See More


Questions / Comments: