Bootstrap snippet and html example. service icons

Bootstrap 4.5.0 snippet "service icons" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.

HTML code

Clean, semantic HTML that powers this Bootstrap 4.5.0 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.


<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/simple-line-icons/2.5.5/css/simple-line-icons.min.css" integrity="sha512-QKC1UZ/ZHNgFzVKSAhV5v5j73eeL9EEN289eKAEFaAjgAiobVAnVv/AGuPbXsKl1dNoel3kNr6PYnSiTzVVBCw==" crossorigin="anonymous" />
<section>
    <div class="container">

        <div class="section-heading title-style4 border-bottom padding-25px-bottom sm-padding-15px-bottom">
            <h3><span>Our</span> Services</h3>
            <p class="width-55 sm-width-75 xs-width-95">Business consulting excepteur sint occaecat cupidatat consulting non proident, sunt in culpa qui officia deserunt laborum market.</p>
        </div>

        <div class="row mt-60">
            <div class="col-lg-4 col-md-6 margin-30px-bottom xs-margin-20px-bottom">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-tools"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Contant Marketing</h4>
                        <h5>Market Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>

                </div>
            </div>
            <div class="col-lg-4 col-md-6 margin-30px-bottom xs-margin-20px-bottom">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-layers"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Saving Investments</h4>
                        <h5>Finance Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>

                </div>
            </div>
            <div class="col-lg-4 col-md-6 margin-30px-bottom xs-margin-20px-bottom">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-hotairballoon"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Detail Report</h4>
                        <h5>Detail Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 sm-margin-30px-bottom xs-margin-20px-bottom">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-mobile"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Investment Plan</h4>
                        <h5>Business Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 xs-margin-20px-bottom">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-presentation"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Media Marketing</h4>
                        <h5>Marketing Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>
                </div>
            </div>
            <div class="col-lg-4 col-md-6 col-xs-12">
                <div class="service-block4 h-100">
                    <div class="service-icon">
                        <i class="icon-genius"></i>
                    </div>
                    <div class="service-desc">
                        <h4>Finance Analysis</h4>
                        <h5>Finance Plan</h5>
                        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 4.5.0 to keep the design, spacing, and responsiveness consistent.

body{margin-top:20px;}

.service-block4 {
    position: relative;
    border: 1px solid #f7f7f7;
    background: #fff;
    box-shadow: 0px 10px 30px 0px rgba(50, 50, 50, 0.16);
    border-radius: 5px;
    overflow: hidden;
    padding: 30px
}

.service-block4:before {
    position: absolute;
    top: -42px;
    right: -100px;
    z-index: 0;
    content: " ";
    width: 250px;
    height: 120px;
    background: #f7f7f7;
    border-bottom-left-radius: 0;
    transition: all 0.4s ease-in-out;
    transform: rotate(45deg);
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out
}

.service-block4:hover:before {
    background: #86bc42
}

.service-block4 .service-icon {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 1;
    text-align: center
}

.service-block4 i {
    color: #86bc42;
    font-size: 38px;
    line-height: normal;
    transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -webkit-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    margin-bottom: 0
}

.service-block4:hover i {
    color: #fff
}

.service-block4 .service-desc {
    position: relative
}

.service-block4 .service-desc h4 {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 600
}

.service-block4 .service-desc h5 {
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 500
}

.service-block4 .service-desc h5:after {
    content: '';
    display: block;
    width: 80px;
    height: 2px;
    background: #86bc42;
    margin-top: 10px;
    margin-bottom: 15px;
    -moz-transition-duration: .4s;
    -ms-transition-duration: .4s;
    -webkit-transition-duration: .4s;
    -o-transition-duration: .4s;
    transition-duration: .4s
}

.service-block4 p {
    margin-top: 25px;
    padding-right: 50px;
    margin-bottom: 0
}

@media screen and (max-width: 1199px) {
    .service-block4:before {
        right: -110px
    }
    .service-block4 .service-desc h4 {
        font-size: 16px;
        margin-bottom: 5px
    }
    .service-block4 p {
        padding-right: 40px;
        margin-top: 20px
    }
    .service-block4 i {
        font-size: 34px
    }
}

@media screen and (max-width: 991px) {
    .service-block4 {
        padding: 25px
    }
    .service-block4 .service-desc h4 {
        font-size: 15px
    }
    .service-block4 i {
        font-size: 32px
    }
    .service-block4 p {
        margin-top: 15px;
        padding-right: 30px
    }
}

@media screen and (max-width: 767px) {
    .service-block4 {
        padding: 20px
    }
    .service-block4:before {
        right: -130px
    }
    .service-block4 i {
        font-size: 28px
    }
    .service-block4 .service-icon {
        top: 13px;
        right: 12px
    }
}

.margin-30px-bottom {
    margin-bottom: 30px;
}

Similar snippets

Bootstrap example and template. Complete User Profile Page for Bootstrap

Complete User Profile Page for Bootstrap

Bootstrap example and template. our history timeline

our history timeline

Bootstrap example and template. tickets timeline

tickets timeline

Bootstrap example and template. upcoming events cards

upcoming events cards

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. bs4 profile friend list

bs4 profile friend list

Bootstrap example and template. product list

product list

Bootstrap example and template. cards with numbers

cards with numbers

FAQ

How do I use this snippet?

Include Bootstrap 4.5.0, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 4.5.0.

Bootstrap example and template. service icons

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 5.2K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 4.5.0

<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 4.5.0 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