<!DOCTYPE html>
<
html
lang
=
"en"
>
<
head
>
<
meta
charset
=
"UTF-8"
>
<
meta
name
=
"viewport"
content="
width
=
device
-width,
initial-scale
=
1
.0">
<
link
rel
=
"stylesheet"
href
=
<
link
rel
=
"preconnect"
<
link
rel
=
"preconnect"
<
link
href
=
rel
=
"stylesheet"
>
<
title
>Responsive Services Section</
title
>
<
style
>
* {
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-image: url(
background-repeat: no-repeat;
background-size: cover;
background-color: rgb(90, 90, 90);
background-blend-mode: multiply;
background-position: center;
color: #fff;
}
h1,
h3 {
text-align: center;
text-transform: uppercase;
}
h1 {
position: relative;
max-width: max-content;
margin: 2rem auto 5rem auto;
}
h1::after {
content: "";
position: absolute;
width: 75%;
height: 5px;
background-color: lightgreen;
bottom: -2rem;
left: 25px;
}
i {
font-size: 3rem;
color: lightgreen;
padding: 1rem;
transition: all 0.3s linear;
transform: rotate(-45deg);
}
.services-container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
display: flex;
flex-wrap: wrap;
justify-content: space-around;
}
.service-card {
cursor: pointer;
width: 300px;
margin: 20px;
padding: 2rem 20px 20px 20px;
text-align: center;
border-radius: 5px;
transition: all 0.3s ease-in-out;
}
.icon-container {
border: 2px solid lightgreen;
transition: 0.3s linear;
width: max-content;
margin: 0 auto;
transform: rotate(45deg);
}
.service-card:hover {
box-shadow: 0 0 30px 0 lightgreen;
transform: scale(1.1);
}
.service-card a {
color: lightgreen;
text-decoration: none;
}
@media (max-width: 768px) {
.service-card {
width: 100%;
}
}
</
style
>
</
head
>
<
body
>
<
h1
>Our Services</
h1
>
<
div
class
=
"services-container"
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-solid fa-user"
></
i
>
</
div
>
<
h3
>Service 1</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-solid fa-cart-shopping"
></
i
>
</
div
>
<
h3
>Service 2</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-solid fa-toolbox"
></
i
>
</
div
>
<
h3
>Service 3</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-brands fa-android"
></
i
>
</
div
>
<
h3
>Service 4</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-solid fa-database"
></
i
>
</
div
>
<
h3
>Service 5</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
<
div
class
=
"service-card"
>
<
div
class
=
"icon-container"
>
<
i
class
=
"fa-solid fa-pen"
></
i
>
</
div
>
<
h3
>Service 6</
h3
>
<
p
>
With the idea of imparting programming
knowledge, Mr. Sandeep Jain, an IIT
Roorkee alumnus started a dream,
GeeksforGeeks. Whether programming
excites you or you feel stifled,
how to ace data structures and
algorithms, GeeksforGeeks is a
one-stop solution.</
p
>
<
a
href
=
"#"
class
=
"button"
>Learn More</
a
>
</
div
>
</
div
>
</
body
>
</
html
>