-
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
Showing
1 changed file
with
62 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,62 @@ | ||
/* ROBOT.GIF from Giphy - https://giphy.com/gifs/robot-cinema-4d-eyedesyn-3o7abtn7DuREEpsyWY */ | ||
|
||
html { | ||
box-sizing: border-box; | ||
} | ||
|
||
body { | ||
margin: 0; | ||
background: #45badd; | ||
} | ||
|
||
.container { | ||
height: 100vh; | ||
width: 100vw; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
background: url("./giphy-robo1.gif"); | ||
background-size: contain; | ||
background-position: left center; | ||
background-repeat: no-repeat; | ||
} | ||
|
||
button { | ||
cursor: pointer; | ||
outline: none; | ||
width: 200px; | ||
height: 50px; | ||
font-family: 'Courier New', Courier, monospace; | ||
font-size: 20px; | ||
color: white; | ||
background: #ff3482; | ||
border: none; | ||
border-radius: 5px; | ||
box-shadow: 2px 2px 20px 10px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
button:hover { | ||
filter: brightness(95%); | ||
} | ||
|
||
button:active { | ||
transform: scale(0.98); | ||
} | ||
|
||
button:disabled { | ||
cursor: default; | ||
filter: brightness(30%); | ||
} | ||
|
||
/* Media Query: Tablet or Smaller Device*/ | ||
@media screen and (max-width: 1000px) { | ||
.container { | ||
background-size: cover; | ||
background-position: center center; | ||
} | ||
|
||
button { | ||
box-shadow: 5px 5px 30px 20px rgba(0, 0, 0, 0.5); | ||
} | ||
} |