Skip to content

Instantly share code, notes, and snippets.

@thejungwon
Last active September 28, 2018 17:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thejungwon/7811b01e896e0855a0fa0e750ddb83fa to your computer and use it in GitHub Desktop.
Save thejungwon/7811b01e896e0855a0fa0e750ddb83fa to your computer and use it in GitHub Desktop.
phase2
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