Last active
September 28, 2018 17:25
-
-
Save thejungwon/7811b01e896e0855a0fa0e750ddb83fa to your computer and use it in GitHub Desktop.
phase2
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
html, body{ | |
height:100%; | |
} | |
body{ | |
background-repeat: no-repeat; | |
background-size: cover; | |
background-position: 50% 50%; | |
margin:0; | |
font-family: sans-serif; | |
} | |
.overlay{ | |
width:100%; | |
height: 100%; | |
background-color: rgba(0, 0, 0, 0.2); | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
color:#fff; | |
flex-direction: column; | |
} | |
.top{ | |
position: absolute; | |
top: 0; | |
left: 0; | |
right: 0; | |
font-size:25px; | |
display: flex; | |
padding:20px; | |
color:rgba(255,255,255,0.5); | |
} | |
.top .left{ | |
flex: 1 0 auto; | |
text-align: left; | |
} | |
.top .right{ | |
flex: 1 1 auto; | |
text-align: right; | |
} | |
.time{ | |
font-size:200px; | |
margin:0; | |
font-weight: 400; | |
} | |
.greeting{ | |
font-size:80px; | |
font-weight: 400; | |
margin:0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment