Bootstrap snippet and html example. Rounded animated icons

Bootstrap 3.3.6 snippet "Rounded animated 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 3.3.6 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

 <!-- Font Awesome -->
 <script src="https://use.fontawesome.com/cb2d0db4c2.js"></script>
 <div class="container">
    <div class="row">
        <div class="col-md-10 icons-container">
            <ul class="row text-center">
                <a href="" >
                    <li id="coffee-circle" >
                        <span>
                            <i class="fa fa-coffee fa-4x" id="coffee-icon">
                            </i>
                            <b class="icon-description">
                                Coffee
                            </b>
                        </span>
                    </li>
                </a>
                 <a href="">
                    <li id="cog-circle">
                        <span>
                            <i class="fa fa-cog fa-4x" id="cog-icon">
                            </i>
                            <b class="icon-description">
                                Cog!!
                            </b>
                        </span>
                    </li>
                </a>
                 <a href="">
                    <li id="upload-circle">
                        <span>
                            <i class="fa fa-upload fa-4x" id="upload-icon">
                            </i>
                            <b class="icon-description">
                                Upload
                            </b>
                        </span>
                    </li>
                </a>
               
            </ul>
        </div>
        <div class="col-md-4">
        </div>
    </div>
</div>

CSS code

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

.icons-container ul li {
    display: inline-block;
    width: 12.2em;
    height: 12.2em;
    border: 1px solid #ccc;
    padding: 40px;
    border-radius: 50%;
    margin: 2.25em;
    line-height: 3.5em;
    color: #999;
    transition: 1s 0s linear;
}

.change-color {
    border-color: orange !important;
    border: 4px solid orange !important;
    color: orange !important;
}

.fa-coffee {
    transition: 1s 0s linear;
}

.fa-cog {
    transition: 1s 0s linear;
}

.fa-upload {
    transition: 1s 0s linear;
}

.animate-coffee {
    -moz-transform: scale(1.2) rotate(-45deg);
    -webkit-transform: scale(1.2) rotate(-45deg);
    -o-transform: scale(1.2) rotate(-45deg);
    -ms-transform: scale(1.2) rotate(-45deg);
    transform: scale(1.2) rotate(-45deg);
}

.animate-cog {
    transform: scale(1.2);
}

.animate-upload {
    -moz-transform: scale(1.2) translateY(-10px);
    -webkit-transform: scale(1.2) translateY(-10px);
    -o-transform: scale(1.2) translateY(-10px);
    -ms-transform: scale(1.2) translateY(-10px);
    transform: scale(1.2) translateY(-10px);
}

Javascript/Jquery code

Lightweight JS to power any interactions this snippet needs. Drop it under your scripts (after Bootstrap 3.3.6) to mirror the live demo.

$(document).ready(function() {
    $("#coffee-circle").on("mouseenter", function() {
        $('#coffee-icon').addClass('animate-coffee');
        $(this).addClass("change-color");
    });
    $("#coffee-circle").on("mouseleave", function() {
        $('#coffee-icon').removeClass('animate-coffee');
        $(this).removeClass("change-color");
    });
    $("#cog-circle").on("mouseenter", function() {
        $('#cog-icon').addClass('fa-spin');
        $(this).addClass("change-color");
    });
    $("#cog-circle").on("mouseleave", function() {
        $('#cog-icon').removeClass('animate-cog fa-spin');
        $(this).removeClass("change-color");
    });
    $("#upload-circle").on("mouseenter", function() {
        $('#upload-icon').addClass('animate-upload');
        $(this).addClass("change-color");
    });
    $("#upload-circle").on("mouseleave", function() {
        $('#upload-icon').removeClass('animate-upload');
        $(this).removeClass("change-color");
    });
}); 

Similar snippets

Bootstrap example and template. Invoice with company info and description

Invoice with company info and description

Bootstrap example and template. services section page

services section page

Bootstrap example and template. Basic table email template

Basic table email template

Bootstrap example and template. bs4 Creative Pricing Table

bs4 Creative Pricing Table

Bootstrap example and template. Complete User Profile Page for Bootstrap

Complete User Profile Page for Bootstrap

Bootstrap example and template. team members with left social icons

team members with left social icons

Bootstrap example and template. profile projects

profile projects

Bootstrap example and template. file managaer page

file managaer page

FAQ

How do I use this snippet?

Include Bootstrap 3.3.6, 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 3.3.6.

Bootstrap example and template. Rounded animated 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 8.0K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 3.3.6

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.3.6 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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

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