Bootstrap snippet and html example. bs5 dark footer

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.
Tags: footer

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 5.1.3 included, to get the result that you can see in the preview selection

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css" integrity="sha256-2XFplPlrFClt0bIdPgpz8H7ojnk10H69xRqd9+uTShA=" crossorigin="anonymous" />
<footer class="bg-dark-gradient footer">
    <div class="footer-top">
        <div class="container">
            <div class="footer-border-bottom pb-6 mb-5">
                <div class="row">
                    <div class="col-lg-4 col-xl-3">
                        <h4 class="text-white">
                            Sign up to Get Latest Updates
                        </h4>
                    </div>
                    <div class="col-lg-4 col-xl-6">
                        <form class="d-flex flex-row mb-2 p-1 bg-white input-group">
                            <input type="email" class="form-control rounded-0 border-0" placeholder="[email protected]">
                            <button class="btn btn-secondary rounded-0 flex-shrink-0" type="submit">Subscribe</button>
                        </form>
                    </div>
                    <div class="col-lg-4 col-xl-3">
                        <div class="text-lg-end text-white">
                            <span class="h6">Call Us On</span><br>
                            <span class="h3">1-800-222-000</span>
                        </div>
                    </div>
                </div>
            </div>
            <div class="row">
                <div class="col-sm-6 col-lg-3 my-4">
                    <div class="mb-4">
                        <img src="static/img/logo-light.svg" title="" alt="">
                    </div>
                    <div class="text-white-65 mb-4 text-white">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.</div>
                    <div class="nav footer-socila-icon">
                        <a href="#">
<i class="fab fa-facebook-f"></i>
</a>
                        <a href="#">
<i class="fab fa-twitter"></i>
</a>
                        <a href="#">
<i class="fab fa-instagram"></i>
</a>
                        <a href="#">
<i class="fab fa-linkedin-in"></i>
</a>
                    </div>
                </div>
                <div class="col-sm-6 col-lg-2 my-4">
                    <h5 class="text-white h6 mb-4">Customer</h5>
                    <ul class="list-unstyled white-link footer-links">
                        <li>
                            <a href="#">Get Corpo</a>
                        </li>
                        <li>
                            <a href="#">Documentation</a>
                        </li>
                        <li>
                            <a href="#">Help center</a>
                        </li>
                        <li>
                            <a href="#">Pricing</a>
                        </li>
                        <li>
                            <a href="#">Contact us</a>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-6 col-lg-2 my-4">
                    <h5 class="text-white h6 mb-4">Product</h5>
                    <ul class="list-unstyled white-link footer-links">
                        <li>
                            <a href="#">Portfolio</a>
                        </li>
                        <li>
                            <a href="#">Blog</a>
                        </li>
                        <li>
                            <a href="#">Join our team</a>
                        </li>
                        <li>
                            <a href="#">Elements</a>
                        </li>
                        <li>
                            <a href="#">Products</a>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-6 col-lg-2 my-4">
                    <h5 class="text-white h6 mb-4">Company</h5>
                    <ul class="list-unstyled white-link footer-links">
                        <li>
                            <a href="#">About</a>
                        </li>
                        <li>
                            <a href="#">Careers</a>
                        </li>
                        <li>
                            <a href="#">Legal &amp; Security</a>
                        </li>
                        <li>
                            <a href="#">Terms of use</a>
                        </li>
                        <li>
                            <a href="#">We're hiring!</a>
                        </li>
                    </ul>
                </div>
                <div class="col-sm-6 col-lg-3 my-4">
                    <h5 class="text-white h6 mb-4">Company</h5>
                    <div class="white-link">
                        <div class="d-flex pb-3">
                            <div class="avatar avatar-lg rounded">
                                <img src="https://bootdey.com/img/Content/avatar/avatar1.png" title="" alt="">
                            </div>
                            <div class="col ps-3">
                                <small class="text-white-65">29 March 2021</small>
                                <h6 class="font-w-500 h6 m-0"><a class="text-white" href="#">Markdown Language Sample Blog Post Styling</a></h6>
                            </div>
                        </div>
                        <div class="d-flex">
                            <div class="avatar avatar-lg rounded">
                                <img src="https://bootdey.com/img/Content/avatar/avatar2.png" title="" alt="">
                            </div>
                            <div class="col ps-3">
                                <small class="text-white-65">29 March 2021</small>
                                <h6 class="font-w-500 h6 m-0"><a class="text-white" href="#">Markdown Language Sample Blog Post Styling</a></h6>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="footer-bottom footer-border-top light py-3">
        <div class="container text-center">
            <p class="m-0">© 2021 copyright <a href="#" class="text-reset text-white">Bootdey.com</a></p>
        </div>
    </div>
</footer>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 5.1.3 included, to get the result that you can see in the preview selection

 body {
     margin-top: 20px;
 }

 .footer .footer-socila-icon a {
     width: 30px;
     height: 30px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     background: #F84E77;
     color: #ffffff;
     border-radius: 50%;
     margin-right: 8px;
     font-size: 15px;
 }

 .footer .footer-socila-icon a:hover {
     background: #1baaa0;
 }

 .footer .footer-links {
     margin: 0;
 }

 .footer .footer-links li+li {
     padding-top: 10px;
 }

 .footer .footer-links li a {
     position: relative;
 }

 .footer .footer-links li a:after {
     content: "";
     position: absolute;
     width: 0px;
     left: auto;
     right: 0;
     bottom: 0;
     height: 1px;
     transition: ease all 0.35s;
     background: #F84E77;
 }

 .footer .footer-links li a:hover:after {
     width: 100%;
     left: 0;
     right: auto;
 }

 .footer .footer-top {
     padding-top: 1rem;
     padding-bottom: 1rem;
 }

 .footer .footer-top h5,
 .footer .footer-top .h5 {
     position: relative;
     font-size: 1.2rem;
     text-transform: uppercase;
 }

 @media (min-width: 768px) {
     .footer .footer-top {
         padding-top: 2rem;
         padding-bottom: 1rem;
     }
 }

 @media (min-width: 992px) {
     .footer .footer-top {
         padding-top: 3rem;
         padding-bottom: 2rem;
     }
 }

 .footer .footer-border-top {
     border-top: 1px solid rgba(255, 255, 255, 0.1);
 }

 .footer .footer-border-top.dark {
     border-top: 1px solid rgba(16, 16, 16, 0.1);
 }

 .footer .footer-border-bottom {
     border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .footer .footer-border-bottom.dark {
     border-bottom: 1px solid rgba(16, 16, 16, 0.1);
 }

 .bg-dark-gradient {
     background: linear-gradient( 180deg, #101010 50%, black 100%) repeat-x !important;
 }

 .white-link a {
     color: rgba(255, 255, 255, 0.65);
 }

 a {
     text-decoration: none
 }
 
 .avatar-lg img {
    width:90px;
    height:90px;
}

.text-white{
color:#fff !important;
}

Similar snippets

Bootstrap example and template. footer social design

footer social design

Bootstrap example and template. footer with sections

footer with sections

Bootstrap example and template. dark footer

dark footer

Bootstrap example and template. footer with subscribe to newsletter

footer with subscribe to newsletter

Bootstrap example and template. profile edit data and skills

profile edit data and skills

Bootstrap example and template. profile with data and skills

profile with data and skills

Bootstrap example and template. chat app

chat app

Bootstrap example and template. Invoice

Invoice

Bootstrap example and template. bs5 dark footer

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 885K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 5.1.3

<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css'>

<script src='https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js'></script>

This code example is based on bootstrap 5.1.3 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This code example can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working