Skip to content
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
37 changes: 17 additions & 20 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,46 +2,42 @@
<html>
<head>
<title>Our App</title>
<link rel="stylesheet" href="style/main.css">
<link rel="stylesheet" href="main.css">
<meta name="viewport" content="width=width-device, initial-scale=1.0">
</head>
<body>

<!-- container -->
<div class="container">


<!-- header -->

<header>

<div class="background-header">

</div>

<div class="content-header">
<h1 id="logo">Our App</h1>
<ul>
<ul id="Links">
<li><a href="#">Services</a></li>
<li><a href="#">Work</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>

<div class="introduction">
<h1>Hello, Welcome to Resposive desgin</h1>
<h3>Hello, Welcome to Resposive desgin</h3>
<h5>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</h5>
</div>
</div>


</div>

</header>

<!-- main -->
<main>
<h1>Services</h1>
<h1 id="services">Services</h1>
<!-- box of services -->


<div class="services-main">
<!-- part 1 -->
<div class="part-services">
<div class="icon">
<img src="images/icon1.png" alt="device">
<img src="images/icon1.png" height="100px" width="100px">
</div>

<div class="services-name">
Expand All @@ -56,7 +52,7 @@ <h1>Web desgin</h1>
<!-- part 2 -->
<div class="part-services">
<div class="icon">
<img src="images/icon2.png" alt="device">
<img src="images/icon2.png" height="100px" width="100px">
</div>

<div class="services-name">
Expand All @@ -71,7 +67,7 @@ <h1>Web desgin</h1>
<!-- part 3 -->
<div class="part-services">
<div class="icon">
<img src="images/icon3.png" alt="device">
<img src="images/icon3.png" height="100px" width="100px" >
</div>

<div class="services-name">
Expand All @@ -87,7 +83,7 @@ <h1>Web desgin</h1>
<!-- part 4 -->
<div class="part-services">
<div class="icon">
<img src="images/icon4.png" alt="device">
<img src="images/icon4.png" height="100px" width="100px">
</div>

<div class="services-name">
Expand All @@ -99,6 +95,7 @@ <h1>Web desgin</h1>
</div>

</div>
</div>

</main>

Expand Down
169 changes: 169 additions & 0 deletions main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,169 @@

html,body{
padding: 0;

}
.background-header{
position: relative;
background-image: url("./images/HeaderBackground1920x1280.jpg");
height: 100vh;
width: 100%;

}
.content-header {


position: absolute;
margin-left: auto;
margin-right: auto;
color: rgb(173, 53, 53);
font-size: 20px;

}

#Links :link{
color: white;
display: flex;
align-items: center;
width: min-content;
justify-content: space-between;
flex-direction: row;
margin-left: auto;
margin-right: auto;

}

#Links{
list-style: none;
}


.introduction {

margin-left: auto;
margin-right: auto;
color: white;
font-size: 23px;
padding: 20px;

}
#services {
color: gray;
font-size: 40px;

width: min-content;
margin-left: auto;
margin-right: auto;
}
.services-main{
display: flex;
justify-content: center;
align-items: center;
text-align: justify;
margin: 20px;
}

#logo {

margin-left: 50px;
}

.part-services{
display: flex;
flex-direction: column;
align-items: center;

}

.services-content{
padding: 20px;
}



@media screen and (max-width: 767px) {
html,body{
padding: 0;

}
.background-header{
position: relative;
background-image: url("./images/HeaderBackground1920x1280.jpg");
background-size: cover;

}
.content-header {


position: absolute;
margin-left: auto;
margin-right: auto;
color: rgb(173, 53, 53);
font-size: 20px;

}

#Links :link{
color: white;
display: flex;
align-items: center;
width: min-content;
justify-content: space-between;
flex-direction: row;
margin-left: auto;
margin-right: auto;
}
#Links {

list-style: none;

}
.introduction {

margin-left: auto;
margin-right: auto;
color: white;
font-size: 15px;
padding: 20px;

}
#services {
color: gray;
font-size: 40px;

width: min-content;
margin-left: auto;
margin-right: auto;
}
.part-services{
display: flex;
flex-direction: column;
align-items: center;

}
.icon{
display: flex;
flex-direction: column;
align-items: center;
}

main{

margin: 10px;
}
#logo {

margin-left: 50px;
}
.services-main{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
text-align: justify;
}
}