Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Service section added #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
65 changes: 64 additions & 1 deletion index.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
margin: 0;
padding: 0;
box-sizing: border-box;

}

body{
Expand Down Expand Up @@ -199,6 +198,70 @@ span {
color: #fff;
}

/* ---------------------SERVICES------------------ */

#services a{
margin-top: 0px;
text-decoration: none;
}
#services>h3{
text-align: center;
margin: auto;
width:40%;
font-size: 2rem;
border-bottom: 4px solid aqua;
}
#service-containner{
display: flex;
margin: 12px 48px;
padding: 8px 48px;
justify-content: space-around;
flex-wrap: wrap;
}
.service-box{
background-color: rgba(252, 252, 252, 0.801);
margin: 22px 42px;
height: 260px;
width: 210px;
box-shadow: 4px 4px 10px rgb(95, 94, 94);
border-radius: 6px;
transition: .3s;
}
.service-box:hover{
transform: translateX(-18px);
}
.shadow{
position: absolute;
margin-top: 28px;
margin-left: 56px;
height:65px;
width:60px;
box-shadow: none;
border-radius: 50%;
opacity: .3;
}
.service-box>i{
margin-left: 36px;
position: relative;
top: 25%;
}
.service-box>h2{
text-decoration: none;
font-size: 18px;
color: #000000;
position: relative;
font-weight: bold;
top: 32%;
margin-left: 12px;
}
.service-box>p{
font-size: 12px;
color:rgb(20, 20, 20);
position: relative;
top:34%;
margin-left: 12px;
}

/*------------------- Newletter------------------ */

form {
Expand Down
52 changes: 51 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
<!-- <i class="fa fa-times"onclick="hideMenu()"></i> -->
<li><a href="index.html">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Services</a></li>
<li><a href="#services">Services</a></li>
<li><a href="#contact">Contact </a></li>
</ul>
<!-- <i class="fa fa-bars" onclick="showMenu()"></i> -->
Expand All @@ -68,6 +68,56 @@
</button>
</div>

<!-- SERVICES SECTIONS START -->
<section id="services">
<h3>Our Serivce Area</h3>
<div id="service-containner">
<a href=""><div class="service-box">
<div style="background-color: aqua;" class="shadow"></div>
<i style="color: rgb(14, 182, 182);" class="fa fa-automobile fa-3x"></i>
<h2>Car Pooling</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>

<a href=""><div class="service-box">
<div style="background-color: orange;" class="shadow"></div>
<i style="color: orange" class="fa fa-motorcycle fa-3x"></i>
<h2>Bike Pooling</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>

<a href=""><div class="service-box">
<div style="background-color: purple;" class="shadow"></div>
<i style="color: purple;" class="fa fa-bicycle fa-3x"></i>
<h2>Rent Bicycle</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>

<a href=""><div class="service-box">
<div style="background-color: green;" class="shadow"></div>
<i style="color: green;" class="fa fa-bus fa-3x"></i>
<h2>Bus Location</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>

<a href=""><div class="service-box">
<div style="background-color: red;" class="shadow"></div>
<i style="color: red" class="fa fa-truck fa-3x"></i>
<h2>Transport Items</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>

<a href=""><div class="service-box">
<div style="background-color: blue;" class="shadow"></div>
<i style="color: blue;" class="fa fa-train fa-3x"></i>
<h2>Train Tickets</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing Lorem ipsum dolor sit. elit.</p>
</div></a>
</div>
</section>

<!-- SERVICES SECTION ENDS -->

<!-- Testimonial Slider -->
<section class="testimonial-section">
<h1 class="head">WHAT OUR USERS SAY ABOUT OUR SERVICES?</h1>
Expand Down