Skip to content

Instantly share code, notes, and snippets.

@aldidas
Last active December 10, 2016 02:56
Show Gist options
  • Save aldidas/7c62137a15b5dc12060727234a8e3b6e to your computer and use it in GitHub Desktop.
Save aldidas/7c62137a15b5dc12060727234a8e3b6e to your computer and use it in GitHub Desktop.
Lamp app style.css
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
background: black;
}
body {
display: flex;
justify-content: center;
align-items: center;
font-family: sans-serif;
}
a {
text-decoration: none;
}
.container {
text-align: center;
color: white;
z-index: 1000;
}
.container i {
font-size: 10em;
text-shadow: 0 0 10px #000;
}
#the-light {
opacity: 0;
display: block;
position: fixed;
width: 640px;
height: 640px;
top: 50%;
left: 50%;
margin-left: -320px;
margin-top: -320px;
border-radius: 320px;
z-index: 0;
background: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%,rgba(0,0,0,1) 70%);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment