-
Notifications
You must be signed in to change notification settings - Fork 3
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
1 parent
b509b06
commit 0fe3311
Showing
3 changed files
with
55 additions
and
53 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,54 @@ | ||
|
||
/* new loader page */ | ||
|
||
|
||
#ploader { | ||
background: url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/209981/6963bbf342d87b3a2150bd8f59682b89.jpg); | ||
-webkit-background-clip: text; | ||
background-size: contain; | ||
width: 100%; | ||
text-align: center; | ||
color: transparent; | ||
} | ||
#ploader::before { | ||
content: attr(data-heading); | ||
position: absolute; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
background: linear-gradient(45deg, rgba(255, 255, 255, 0) 45%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0) 55%, rgba(255, 255, 255, 0) 100%); | ||
-webkit-background-clip: text; | ||
color: transparent; | ||
mix-blend-mode: screen; | ||
animation: shine 1s infinite; | ||
background-size: 200%; | ||
/* text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2), -2px 2px 10px rgba(0, 0, 0, 0.2), -2px -2px 10px rgba(0, 0, 0, 0.2); */ | ||
} | ||
@keyframes shine { | ||
0% { | ||
background-position: -100%; | ||
} | ||
100% { | ||
background-position: 100%; | ||
} | ||
} | ||
/* Not needed for demo */ | ||
/* @font-face { | ||
font-family: 'frozen'; | ||
src: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/209981/Ice%20kingdom%20-%20Bold%20-%20Por%20Kustren.woff'); | ||
} */ | ||
|
||
#ploader{ | ||
top: 40%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
position: absolute; | ||
font-size: 12vw; | ||
margin: 0; | ||
font-family: 'frozen', serif; | ||
font-weight: 700; | ||
} | ||
|
||
|
||
/* new loader page */ | ||
|
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
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