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
"Simple box display"
Bootstrap 4.1.1 Snippet by
brandbuilderNepal
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
958
 
0 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="slides"> <div class="container-fluid"> <div class="row"> <div class="col-md-3 col-6 mb-2"> <div class="imgtext"> <img src="https://www.impactbnd.com/hubfs/blog-image-uploads/best-about-us-pages.jpg" class="img-fluid img-size"> <div class="text1"> <a href=""><span>ABOUT US</span></a> </div> </div> </div> <div class="col-md-3 col-6 mb-2"> <div class="imgtext"> <img src="https://commodoremgt.com/wp-content/uploads/2020/06/RNFetchBlobTmp_77083q8iho5svh77inxpt-1200x675.jpg" class="img-fluid img-size"> <div class="text1"> <a href=""><span>OUR FACILITIES</span></a> </div> </div> </div> <div class="col-md-3 col-6 mb-2"> <div class="imgtext"> <img src="https://www.proofhub.com/wp-content/uploads/2019/01/Teamwork-Skills-in-the-Workplace.jpeg" alt="image" class="img-fluid img-size"> <div class="text1"> <a href=""><span>OUR VISION & MOTTO</span></a> </div> </div> </div> <div class="col-md-3 col-6 mb-2"> <div class="imgtext"> <img src="https://p0.pikist.com/photos/248/615/note-notebook-pen-laptop-computer-article-to-write-the-work-work.jpg" alt="image" class="img-fluid img-size"> <div class="text1"> <a href=""><span>ADMISSION QUREY</span></a> </div> </div> </div> </div> </div> </section>
.imgtext { position: relative; } .imgtext:hover { transform: scale(1.05); transition: all 0.1s ease-out; } .img-size{ height:220px; object-fit:cover; } .text1 { bottom: 12px; position: absolute; width: 100%; text-align: center; } .text1 a { color: white; text-decoration: underline; font-family: Rubik; font-style: SemiBold; Font-size: 20px; text-decoration-color: red; } .text1 a:hover { color: white; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76