generated from chingu-voyages/voyage-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit will render the landing page with the heading and action-less start button.
- Loading branch information
1 parent
6d422e1
commit a873dd3
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |