Bootstrap snippet and html example. bootstrap 5 Css animation Card

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 4.6.0 included, to get the result that you can see in the preview selection

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

<div class="container">
    <div class="row">
		<h2>Create your snippet's HTML, CSS and Javascript in the editor tabs</h2>
		
    <div class="service-block-two col-lg-4 col-md-6 col-sm-12">
			<div class="inner-box">
				<div class="shape-one"></div>
				<div class="shape-two"></div>
				<div class="icon-box">
					<span class="icon flaticon-coding-1"></span>
				</div>
				<h5><a href="https://www.karosearch.com/">free business listing sites in india</a></h5>
				<div class="text">Lorem Ipsum is simply dummy text of the printing and typesetting industry.</div>
			</div>
		</div>
	</div>
</div>

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 4.6.0 included, to get the result that you can see in the preview selection

.service-block-two {
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}
.service-block-two .inner-box {
    position: relative;
    overflow: hidden;
    padding: 45px 45px;
    border-radius: 6px;
    background-color: #f5f5f5;
}
.service-block-two .inner-box:before {
    position: absolute;
    content: '';
    left: 0px;
    bottom: 0px;
    width: 100%;
    height: 50%;
    opacity: 0;
    background-color: #141d38;
    -webkit-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    transition: all 600ms ease;
}
.service-block-two .inner-box .shape-one {
    content: '';
    width: 250px;
    height: 250px;
    background: #0060ff;
    border-radius: 50%;
    position: absolute;
    top: -120px;
    opacity: 0.4;
    right: -120px;
    transform: scale(0);
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}
.service-block-two .inner-box .shape-two {
    content: '';
    width: 373px;
    height: 373px;
    background: #0060ff;
    border-radius: 50%;
    position: absolute;
    top: -180px;
    right: -180px;
    z-index: 1;
    opacity: 0;
    transform: scale(0);
    -webkit-transition: all 600ms ease;
    -moz-transition: all 600ms ease;
    -ms-transition: all 600ms ease;
    -o-transition: all 600ms ease;
    transition: all 600ms ease;
}
.service-block-two .inner-box .icon-box {
    position: relative;
    font-size: 65px;
    line-height: 1em;
    color: #0060ff;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
}
.service-block-two .inner-box .icon-box {
    position: relative;
    z-index: 2;
}
.service-block-two .inner-box .icon-box {
    position: relative;
    font-size: 65px;
    line-height: 1em;
    color: #0060ff;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
}
.service-block-two .inner-box h5 {
    position: relative;
    z-index: 2;
    color: #222222;
    font-weight: 600;
    line-height: 1.3em;
    margin: 20px 0px 15px;
}
.service-block-two .inner-box .text {
    position: relative;
    color: #222222;
    z-index: 2;
    font-size: 16px;
    line-height: 1.8em;
    -webkit-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    transition: all 300ms ease;
}
.service-block-two .inner-box:hover::before {
    height: 100%;
    opacity: 1;
}
.service-block-two .inner-box:hover .shape-one {
    transform: scale(1);
    webkit-transition-delay: 300ms;
    -ms-transition-delay: 300ms;
    transition-delay: 300ms;
}
.service-block-two .inner-box:hover .shape-two {
    opacity: 0.4;
    transform: scale(1);
    webkit-transition-delay: 600ms;
    -ms-transition-delay: 600ms;
    transition-delay: 600ms;
}

.service-block-two .inner-box:hover .icon-box, .service-block-two .inner-box:hover h5 a, .service-block-two .inner-box:hover .text {
    color: #ffffff;
}
.service-block-two .inner-box:hover .icon-box, .service-block-two .inner-box:hover h5 a, .service-block-two .inner-box:hover .text {
    color: #ffffff;
}
.service-block-two .inner-box:hover .icon-box, .service-block-two .inner-box:hover h5 a, .service-block-two .inner-box:hover .text {
    color: #ffffff;
}

Similar snippets

Bootstrap example and template. calendar schedule table

calendar schedule table

Bootstrap example and template. bs4 user card task list

bs4 user card task list

Bootstrap example and template. 404 error page with particles

404 error page with particles

Bootstrap example and template. Pricing Package Table

Pricing Package Table

Bootstrap example and template. bs5 dark footer

bs5 dark footer

Bootstrap example and template. timeline steps

timeline steps

Bootstrap example and template. white chat

white chat

Bootstrap example and template. bs4 invoice

bs4 invoice

Bootstrap example and template. bootstrap 5 Css animation Card

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 2.9K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.6.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.6.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