Bootstrap snippet and html example. Animated UI elements using font awesome

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.

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

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Donation modal</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="style.css"/>
</head>
<body>
<div class="container">
    <div class="row">
        <div class="col-12 mb-5 mt-3">
            <h1>Animated UI elements with font awesome</h1>
            <hr>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-info continuous">
                <i class="fas fa-phone fa-2x"></i>
                <h6 class="m-0">Phone</h6>
            </div>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-primary">
                <i class="fas fa-user fa-2x"></i>
                <h6 class="m-0">User</h6>
            </div>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-success">
                <i class="fas fa-user-shield fa-2x"></i>
                <h6 class="m-0">Admin</h6>
            </div>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-warning">
                <i class="fas fa-money-bill fa-2x"></i>
                <h6 class="m-0">Money</h6>
            </div>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-danger">
                <i class="fas fa-chart-bar fa-2x"></i>
                <h6 class="m-0">Analytics</h6>
            </div>
        </div>
        <div class="col-xl-2 col-md-4 col-6">
            <div class="ui-border-effect ui-purple">
                <i class="fas fa-comment fa-2x"></i>
                <h6 class="m-0">Chat</h6>
            </div>
        </div>
        <div class="col-12 my-5">
            <p>Use the <strong>continuous</strong> class to give the block an infinite motion without having to hover over it.</p>
        </div>
    </div>
</div>
</body>
<div style="position: fixed;bottom: 5%;right: 5%;padding: 1rem;background: #fff;border: 1px solid #e9ecef;border-radius: 0.35rem;color: #a9aeb3;box-shadow: 0 0 20px #e9ecef;">
    <h5 style="margin-bottom: 1rem;padding-bottom: 1rem;text-align: center;">Support my work @ MMLTech</h5>
    <div style="display: flex;align-items: center;">
        <a style="margin-right:1rem;background: #d1e6fd;display: block;padding: 1rem;border-radius: 0.25rem;border: 1px solid #e9ecef;color: #000;font-weight: bold;" href="https://ko-fi.com/mmltech" target="_blank"><img src="https://storage.ko-fi.com/cdn/Kofi_Logo_Blue.svg" width="60px"/> Buy me a coffee</a>
        <a style="background: #d1e6fd;display: block;padding: 1rem;border-radius: 0.25rem;border: 1px solid #e9ecef;color: #000;font-weight: bold;" href="https://obscountdown.com" target="_blank"><img src="https://streamcd.net/Assets/images/logo-white.png" width="60px" height="19px" /> My projects</a>
    </div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</html>

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

.ui-border-effect {
  padding: 20px 0 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.ui-border-effect:before {
  content: "";
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border: 1px solid;
  border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  will-change: border-radius;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  display: block;
  position: absolute;
  -webkit-animation: boldering 10s infinite paused;
  animation: boldering 10s infinite paused;
  top: -10px;
  left: 20px;
}
.ui-border-effect.continuous:before, .ui-border-effect:hover:before {
  -webkit-animation-play-state: running;
  animation-play-state: running;
}
.ui-border-effect.continuous i, .ui-border-effect:hover i {
  opacity: 1;
}
.ui-border-effect i {
  margin-bottom: 1rem;
  opacity: 0.5;
  -webkit-transition: 0.3s all;
  -moz-transition: 0.3s all;
  -ms-transition: 0.3s all;
  -o-transition: 0.3s all;
  transition: 0.3s all;
}
.ui-border-effect.ui-info {
  color: #1DA1F2;
}
.ui-border-effect.ui-primary {
  color: #004b9d;
}
.ui-border-effect.ui-success {
  color: #218939;
}
.ui-border-effect.ui-warning {
  color: #cb9b08;
}
.ui-border-effect.ui-danger {
  color: #b23737;
}
.ui-border-effect.ui-purple {
  color: #7032c2;
}

@keyframes boldering {
  0% {
    border-radius: 30% 70% 70% 30%/30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25%/76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67%/55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42%/63% 68% 32% 37%;
  }
}

/*# sourceMappingURL=style.css.map */

Similar snippets

Bootstrap example and template. User wall with sidebar show hide

User wall with sidebar show hide

Bootstrap example and template. google plus button labels style

google plus button labels style

Bootstrap example and template. timeline steps

timeline steps

Bootstrap example and template. bs4 payment list

bs4 payment list

Bootstrap example and template. messages chat widget

messages chat widget

Bootstrap example and template. blue login

blue login

Bootstrap example and template. Users Products todo

Users Products todo

Bootstrap example and template. bs4 sevices page

bs4 sevices page

Bootstrap example and template. Animated UI elements using font awesome

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