Skip to content

Commit

Permalink
render the landing page
Browse files Browse the repository at this point in the history
This commit will render the landing page with the heading and action-less start button.
  • Loading branch information
SarveshDandapati committed Apr 14, 2022
1 parent 6d422e1 commit a873dd3
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 0 deletions.
25 changes: 25 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!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="style.css">
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@600&display=swap" rel="stylesheet">
<title>Flower Personality</title>
</head>

<body>

<div class="landing">

<h1><div class="line1"></div>Lost <span style="color: rgb(82, 200, 82);">&</span> Found<div class="line2"></div></h1>

<h2>What kind of flower am I ?</h2>
<p>Find out by answering this short array of questions !</p>
<button>Start the Test</button>
</div>
</body>

</html>
42 changes: 42 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
*{
font-family: 'Oswald', sans-serif;
}
h1{
font-size: 5rem;
}
h2{
font-size: 2rem;
}
p{
font-size: 1rem;
}
.line1, .line2 {
border-left: 6px solid green;
height: 10rem;
position: absolute;
margin-top: 6rem;
top: 0;
}
.line1{
left: 20%;

}
.line2{
right: 20%;
}
.landing{
text-align: center;
}
.landing button{
margin-top: 3rem;
font-size: larger;
width: 8rem;
height: 4rem;
border: green 5px dotted;
}
.landing button:hover{
cursor: pointer;
/* background: radial-gradient(rgba(82, 200, 82, 0), rgb(82, 200, 82)); */
background-color: rgb(82, 200, 82);
transition: all ease-in 0.2s;
}

0 comments on commit a873dd3

Please sign in to comment.