Skip to content

Commit

Permalink
completed
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihyazicioglu committed Jan 31, 2022
1 parent d5e11e0 commit 06897c4
Show file tree
Hide file tree
Showing 2 changed files with 167 additions and 18 deletions.
128 changes: 121 additions & 7 deletions css/style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,122 @@
body{
background-image: url("/images/bg_001.jpg");
background-color: #cccccc;
/* body {
background-image: url("/images/bg_001.jpg");
background-color: #cccccc;
background-repeat: no-repeat;
background-size: cover;
} */

* {
margin: 0;
padding: 0;
font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
"Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
header {
background-image: url(/images/bg_001.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
ul {
float: right;
list-style-type: none;
}
ul li {
display: inline;
}
ul li a {
text-decoration: none;
color: #fff;
padding: 5px 20px;
border: 1px solid rgba(red, green, blue, alpha) transparent;
transition: 0.6s ease;
}
ul li a:hover {
background-color: #fff;
color: rgb(131, 23, 23);
border-radius: 45%;
}
.logo img {
float: left;
width: 150px;
height: auto;
}
.main {
max-width: 950px;
margin: auto;
padding-top: 60px;
}
.title {
position: absolute;
top: 40%;
left: 40%;
right: 300px;
transform: translate(-50%, -50%);
}
.title h1 {
color: #fff;
font-size: 70px;
}
.prg {
position: absolute;
top: 55%;
left: 40%;
right: 300px;
transform: translate(-50%, -50%);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
.button {
position: absolute;
top: 65%;
left: 40%;
right: 300px;
transform: translate(-50%, -50%);
}
.btn {
border: 1px solid #fff;
padding: 10px 30px;
color: #fff;
text-decoration: none;
background-color: greenyellow;
border-radius: 15%;
}
.btnq {
border: 1px solid #fff;
padding: 10px 30px;
color: #fff;
text-decoration: none;
background-color: rgb(6, 80, 129);
border-radius: 15%;
}
.btn:hover,
.btnq:hover {
background-color: #fff;
color: rgb(126, 102, 102);
border-radius: 45%;
transition: 0.6s ease;
}
.phone{
display: flex;
position: absolute;
top: 50%;
left: 70%;
right: 300px;
transform: translate(-50%, -50%);
height: 500px;
}

.phone2{
z-index: 1;
}
.phone1{
display: flex;
position: absolute;
top: 55%;
left: 110%;
right: 300px;
transform: translate(-50%, -50%);
height: 500px;
}


background-repeat: no-repeat;
background-size: cover;
}
57 changes: 46 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,48 @@
<!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">
<link rel="stylesheet" href="./css/style.css">
<title>Document</title>
</head>
<body>

</body>
</html>
<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" />
<link rel="stylesheet" href="./css/style.css" />
<title>MobileAPP</title>
</head>
<body>
<header>
<div class="main">
<div class="logo">
<img src="./images/logo_001.png" alt="" />
</div>
<ul>
<li><a href="#">Products</a></li>
<li><a href="#">Prices</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Team</a></li>
<li><a href="#">Login</a></li>
<li><a href="#">Sign up</a></li>
</ul>
</div>
<div class="title">
<h1>Make your Startup Web with our Template</h1>
</div>
<div class="prg">
<p class="pr">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Veniam
reiciendis voluptate aspernatur quibusdam consequuntur nemo. Natus
repellat vitae eius expedita cumque quidem saepe consequatur,
cupiditate ullam laudantium fugit sed aliquid.
</p>
</div>
<div class="button">
<a href="#" class="btn">Learn More</a>
<a href="#" class="btnq">Get the App</a>
</div>
<div class="phone">
<img class="phone2" src="./images/phone_002.png" alt="">
<img class="phone1" src="./images/phone_001.png" alt="">


</div>
</header>
</body>
</html>

0 comments on commit 06897c4

Please sign in to comment.