-
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.
- Loading branch information
1 parent
56ad299
commit 866a4f5
Showing
1 changed file
with
90 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,90 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; | ||
} | ||
|
||
body { | ||
background: #1d212b; | ||
} | ||
|
||
section { | ||
min-height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
section:nth-child(1) { | ||
color: #fff; | ||
} | ||
|
||
section:nth-child(2) { | ||
color: #1d212b; | ||
background: #fff; | ||
} | ||
|
||
section:nth-child(3) { | ||
color: #fff; | ||
} | ||
|
||
section:nth-child(4) { | ||
color: #1d212b; | ||
background: #fff; | ||
} | ||
|
||
section .container { | ||
margin: 100px; | ||
} | ||
|
||
section h1 { | ||
font-size: 60px; | ||
} | ||
|
||
section h2 { | ||
font-size: 40px; | ||
text-align: center; | ||
text-transform: uppercase; | ||
} | ||
|
||
section .cards { | ||
display: flex; | ||
} | ||
|
||
section .cards .text-card { | ||
background: green; | ||
margin: 20px; | ||
padding: 20px; | ||
} | ||
|
||
section .cards .text-card h3 { | ||
font-size: 30px; | ||
text-align: center; | ||
text-transform: uppercase; | ||
margin-bottom: 10px; | ||
} | ||
|
||
|
||
|
||
@media (max-width: 900px) { | ||
section h1 { | ||
font-size: 40px; | ||
} | ||
|
||
section .cards { | ||
flex-direction: column; | ||
} | ||
} | ||
|
||
.reveal { | ||
position: relative; | ||
transform: translateY(150px); | ||
opacity: 0; | ||
transition: all 2s ease; | ||
} | ||
|
||
.reveal.active { | ||
transform: translateY(0px); | ||
opacity: 1; | ||
} |