Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *{
- margin: 0;
- padding: 0;
- box-sizing: border-box;
- }
- body, html{
- font-size: 10px;
- }
- header{
- height: 100vh;
- width: 100%;
- background-color: #AEE0D7;
- position: fixed;
- top: 0;
- left: 0;
- overflow-x: hidden;
- font-family: 'Oswald', sans-serif;
- z-index: 1;
- }
- main{
- background-color: grey;
- height: 100vh;
- margin-top: 100vh;
- z-index: 2;
- position: relative;
- }
- header img{
- position: absolute;
- bottom: 0;
- right: -45%;
- height: 80%;
- }
- nav{
- position: absolute;
- right: 9%;
- top: 4%;
- font-size: 4rem;
- z-index: 100;
- }
- hgroup{
- position: absolute;
- top: 15%;
- left: 10%;
- z-index: 100;
- text-transform: uppercase;
- }
- header h1{
- font-size: 4.5rem;
- }
- header h3{
- font-size: 1.4rem;
- font-weight: 700;
- }
- #arrow{
- width: 60px;
- height: 60px;
- border: 5px solid black;
- position: absolute;
- bottom: 10%;
- left: 50%;
- transform: translateX(-50%);
- border-radius: 50%;
- font-size: 4rem;
- text-align: center;
- text-shadow: 0 -10px 0 black, 0 -20px 0 black;
- }
- #arrow:hover{
- box-shadow: 0 0 5px 5px black;
- color: white;
- background-color: black;
- border-color: white;
- text-shadow: 0 -10px 0 white, 0 -20px 0 white;
- }
- @media (orientation: portrait){
- h3 span::after {
- content: '\A';
- white-space: pre;
- }
- }
- @media (orientation: landscape){
- header img{
- position: absolute;
- bottom: 0;
- right: -0%;
- height: 80%;
- }
- }
- @media (max-width: 320px) {
- header h1{
- font-size: 3.8rem;
- }
- hgroup {
- transform: rotate(-15deg);
- }
- }
- @keyframes arrow {
- 0% {transform: translateY(-80px)}
- 50% {transform: translateY(0px)}
- 100% {transform: translateY(80px)}
- }
- .fas fa-angle-down {
- animation: arrow 1.6s infinite linear;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement