index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hancie e-Learning Studio</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/
css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/
js/bootstrap.bundle.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/
bootstrap-icons@1.9.1/font/bootstrap-icons.css">
</head>
<body>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.
com/font-awesome/4.7.0/css/font-awesome.min.css" />
<div class="container">
<div class="row">
<div class="col-md-3 col-sm-6">
<div class="serviceBox">
<div class="service-icon">
<span><i class="fa fa-globe"></i></span>
</div>
<h3 class="title">Web Design</h3>
<p class="description">Lorem ipsum dolor sit amet conse ctetur
adipisicing elit. Qui quaerat fugit quas veniam perferendis
repudiandae sequi, dolore quisquam illum.</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="serviceBox green">
<div class="service-icon">
<span><i class="fa fa-rocket"></i></span>
</div>
<h3 class="title">Web Development</h3>
<p class="description">Lorem ipsum dolor sit amet conse
ctetur adipisicing elit. Qui quaerat fugit quas veniam
perferendis repudiandae sequi, dolore quisquam illum.</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="serviceBox blue">
<div class="service-icon">
<span><i class="fa fa-mobile"></i></span>
</div>
<h3 class="title">Responsive Design</h3>
<p class="description">Lorem ipsum dolor sit amet conse ctetur
adipisicing elit. Qui quaerat fugit quas veniam perferendis
repudiandae sequi, dolore quisquam illum.</p>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="serviceBox purple">
<div class="service-icon">
<span><i class="fa fa-briefcase"></i></span>
</div>
<h3 class="title">Brand Building</h3>
<p class="description">Lorem ipsum dolor sit amet conse
ctetur adipisicing elit. Qui quaerat fugit quas veniam
perferendis repudiandae sequi, dolore quisquam illum.</p>
</div>
</div>
</div>
</div>
<style>
.serviceBox{
color: #333;
font-family: 'Poppins', sans-serif;
text-align: center;
position: relative;
z-index: 1;
}
.serviceBox .service-icon{
font-size: 33px;
line-height: 111px;
height: 120px;
width: 120px;
margin: 0 0 20px;
border: 4px dotted #ff638f;
border-radius: 50%;
display: inline-block;
position: relative;
z-index: 1;
}
.serviceBox .service-icon:before,
.serviceBox .service-icon:after{
content: '';
background: linear-gradient(to right bottom,#ff638f,#e50031);
border-radius: inherit;
position: absolute;
left: 5px;
right: 5px;
top: 5px;
bottom: 5px;
z-index: -1;
}
.serviceBox .service-icon:after{
background: #fff;
box-shadow: 0 0 10px rgba(0,0,0,0.7);
left: 14px;
right: 14px;
top: 14px;
bottom: 14px;
}
.serviceBox .title{
color: #e50031;
font-size: 22px;
font-weight: 700;
letter-spacing: 1px;
text-transform: uppercase;
margin: 0 0 10px;
}
.serviceBox .title:after{
content: '';
background-color: #333;
height: 2px;
width: 60px;
margin: 3px auto 0;
clear: both;
display: block;
}
.serviceBox .description{
font-size: 13px;
line-height: 23px;
margin: 0 10px;
}
.serviceBox.green .service-icon{ border-color: #2eea93; }
.serviceBox.green .service-icon:before{ background: linear
-gradient(to right bottom,#2eea93,#049e68); }
.serviceBox.green .title{ color: #049e68; }
.serviceBox.blue .service-icon{ border-color: #3aadff; }
.serviceBox.blue .service-icon:before{ background: linear
-gradient(to right bottom,#3aadff,#0356BE); }
.serviceBox.blue .title{ color: #0356BE; }
.serviceBox.purple .service-icon{ border-color: #9c32ff; }
.serviceBox.purple .service-icon:before{ background: linear
-gradient(to right bottom,#9c32ff,#4A15A7); }
.serviceBox.purple .title{ color: #4A15A7; }
@media only screen and (max-width: 990px){
.serviceBox{ margin: 0 0 40px; }
}
</style>
</body>
</html>