Last active
March 4, 2019 12:39
-
-
Save nishanc/252d2c1af03194974d326d6673f56b69 to your computer and use it in GitHub Desktop.
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 { | |
margin: 0; | |
padding: 0; | |
width: 100%; | |
height: 100vh; | |
background: url(background.jpg) no-repeat 50% 50%; | |
background-size: cover; | |
} | |
#loader { | |
position: fixed; | |
width: 100%; | |
height: 100vh; | |
z-index: 1; | |
overflow: visible; | |
background: #fff url('loader.gif') no-repeat center center; | |
} | |
h1 { | |
position: absolute; | |
top: 47%; | |
left: 50%; | |
transform: translate(-50%, -50%); | |
color: #fff; | |
font-family: poppins; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment