Created
October 5, 2014 03:14
-
-
Save kopasetik/4fc9e77b20f35ea378d3 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
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
<div class="loader"> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
<h1 id="author">Demo by <a target="_blank" href="http://creative-punch.net/">Creative Punch</a></h1> |
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
// ---- | |
// Sass (v3.4.4) | |
// Compass (v1.0.1) | |
// ---- | |
$elements: 80 | |
/* Fiddle with this number for extra trippyness */ | |
/* Come on... You know you want it */ | |
/* Try setting me to 0.01(this is crazy) or 2 or 4, whatever you want! */ | |
$multiplier: 0.5 | |
@keyframes scaling | |
0% | |
transform: scale(0.5) | |
100% | |
transform: scale(2) | |
html | |
background: #f1f1f1 | |
div.loader | |
display: block | |
position: relative | |
text-align: center | |
width: 100% | |
margin: 50px auto | |
div | |
list-style: none | |
display: inline-block | |
content: "" | |
padding: 10px 2px | |
transform: scale(0.5) | |
margin: 0 -1px | |
animation: scaling 1s ease-in-out infinite alternate | |
transform-origin: center | |
@for $i from 1 to ($elements + 1) | |
div.loader div:nth-child(#{$i}) | |
animation-delay: #{sin(360deg * ($i / ($elements * $multiplier)))}s | |
background-color: hsl((360deg * ($i / $elements)), 50%, 60%) | |
/* Demo credits stuff */ | |
@import url(http://fonts.googleapis.com/css?family=Nixie+One) | |
h1#author | |
text-align: center | |
color: #30303F | |
width: 100% | |
background-color: #ddd | |
padding: 10px | |
font-family: 'Nixie One' | |
text-stroke: 1px | |
font-size: 40px | |
text-shadow: 0 0 10px #aaa | |
a | |
color: #39D | |
text-decoration: none |
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
/* Fiddle with this number for extra trippyness */ | |
/* Come on... You know you want it */ | |
/* Try setting me to 0.01(this is crazy) or 2 or 4, whatever you want! */ | |
@import url(http://fonts.googleapis.com/css?family=Nixie+One); | |
@keyframes scaling { | |
0% { | |
transform: scale(0.5); | |
} | |
100% { | |
transform: scale(2); | |
} | |
} | |
html { | |
background: #f1f1f1; | |
} | |
div.loader { | |
display: block; | |
position: relative; | |
text-align: center; | |
width: 100%; | |
margin: 50px auto; | |
} | |
div.loader div { | |
list-style: none; | |
display: inline-block; | |
content: ""; | |
padding: 10px 2px; | |
transform: scale(0.5); | |
margin: 0 -1px; | |
animation: scaling 1s ease-in-out infinite alternate; | |
transform-origin: center; | |
} | |
div.loader div:nth-child(1) { | |
animation-delay: 0.15643s; | |
background-color: #cc6e66; | |
} | |
div.loader div:nth-child(2) { | |
animation-delay: 0.30902s; | |
background-color: #cc7566; | |
} | |
div.loader div:nth-child(3) { | |
animation-delay: 0.45399s; | |
background-color: #cc7d66; | |
} | |
div.loader div:nth-child(4) { | |
animation-delay: 0.58779s; | |
background-color: #cc8566; | |
} | |
div.loader div:nth-child(5) { | |
animation-delay: 0.70711s; | |
background-color: #cc8c66; | |
} | |
div.loader div:nth-child(6) { | |
animation-delay: 0.80902s; | |
background-color: #cc9466; | |
} | |
div.loader div:nth-child(7) { | |
animation-delay: 0.89101s; | |
background-color: #cc9c66; | |
} | |
div.loader div:nth-child(8) { | |
animation-delay: 0.95106s; | |
background-color: #cca366; | |
} | |
div.loader div:nth-child(9) { | |
animation-delay: 0.98769s; | |
background-color: #ccab66; | |
} | |
div.loader div:nth-child(10) { | |
animation-delay: 1s; | |
background-color: #ccb366; | |
} | |
div.loader div:nth-child(11) { | |
animation-delay: 0.98769s; | |
background-color: #ccba66; | |
} | |
div.loader div:nth-child(12) { | |
animation-delay: 0.95106s; | |
background-color: #ccc266; | |
} | |
div.loader div:nth-child(13) { | |
animation-delay: 0.89101s; | |
background-color: #ccc966; | |
} | |
div.loader div:nth-child(14) { | |
animation-delay: 0.80902s; | |
background-color: #c7cc66; | |
} | |
div.loader div:nth-child(15) { | |
animation-delay: 0.70711s; | |
background-color: #bfcc66; | |
} | |
div.loader div:nth-child(16) { | |
animation-delay: 0.58779s; | |
background-color: #b8cc66; | |
} | |
div.loader div:nth-child(17) { | |
animation-delay: 0.45399s; | |
background-color: #b0cc66; | |
} | |
div.loader div:nth-child(18) { | |
animation-delay: 0.30902s; | |
background-color: #a8cc66; | |
} | |
div.loader div:nth-child(19) { | |
animation-delay: 0.15643s; | |
background-color: #a1cc66; | |
} | |
div.loader div:nth-child(20) { | |
animation-delay: 0.0s; | |
background-color: #99cc66; | |
} | |
div.loader div:nth-child(21) { | |
animation-delay: -0.15643s; | |
background-color: #91cc66; | |
} | |
div.loader div:nth-child(22) { | |
animation-delay: -0.30902s; | |
background-color: #8acc66; | |
} | |
div.loader div:nth-child(23) { | |
animation-delay: -0.45399s; | |
background-color: #82cc66; | |
} | |
div.loader div:nth-child(24) { | |
animation-delay: -0.58779s; | |
background-color: #7acc66; | |
} | |
div.loader div:nth-child(25) { | |
animation-delay: -0.70711s; | |
background-color: #73cc66; | |
} | |
div.loader div:nth-child(26) { | |
animation-delay: -0.80902s; | |
background-color: #6bcc66; | |
} | |
div.loader div:nth-child(27) { | |
animation-delay: -0.89101s; | |
background-color: #66cc69; | |
} | |
div.loader div:nth-child(28) { | |
animation-delay: -0.95106s; | |
background-color: #66cc70; | |
} | |
div.loader div:nth-child(29) { | |
animation-delay: -0.98769s; | |
background-color: #66cc78; | |
} | |
div.loader div:nth-child(30) { | |
animation-delay: -1s; | |
background-color: #66cc80; | |
} | |
div.loader div:nth-child(31) { | |
animation-delay: -0.98769s; | |
background-color: #66cc87; | |
} | |
div.loader div:nth-child(32) { | |
animation-delay: -0.95106s; | |
background-color: #66cc8f; | |
} | |
div.loader div:nth-child(33) { | |
animation-delay: -0.89101s; | |
background-color: #66cc96; | |
} | |
div.loader div:nth-child(34) { | |
animation-delay: -0.80902s; | |
background-color: #66cc9e; | |
} | |
div.loader div:nth-child(35) { | |
animation-delay: -0.70711s; | |
background-color: #66cca6; | |
} | |
div.loader div:nth-child(36) { | |
animation-delay: -0.58779s; | |
background-color: #66ccad; | |
} | |
div.loader div:nth-child(37) { | |
animation-delay: -0.45399s; | |
background-color: #66ccb5; | |
} | |
div.loader div:nth-child(38) { | |
animation-delay: -0.30902s; | |
background-color: #66ccbd; | |
} | |
div.loader div:nth-child(39) { | |
animation-delay: -0.15643s; | |
background-color: #66ccc4; | |
} | |
div.loader div:nth-child(40) { | |
animation-delay: 0.0s; | |
background-color: #66cccc; | |
} | |
div.loader div:nth-child(41) { | |
animation-delay: 0.15643s; | |
background-color: #66c4cc; | |
} | |
div.loader div:nth-child(42) { | |
animation-delay: 0.30902s; | |
background-color: #66bdcc; | |
} | |
div.loader div:nth-child(43) { | |
animation-delay: 0.45399s; | |
background-color: #66b5cc; | |
} | |
div.loader div:nth-child(44) { | |
animation-delay: 0.58779s; | |
background-color: #66adcc; | |
} | |
div.loader div:nth-child(45) { | |
animation-delay: 0.70711s; | |
background-color: #66a6cc; | |
} | |
div.loader div:nth-child(46) { | |
animation-delay: 0.80902s; | |
background-color: #669ecc; | |
} | |
div.loader div:nth-child(47) { | |
animation-delay: 0.89101s; | |
background-color: #6696cc; | |
} | |
div.loader div:nth-child(48) { | |
animation-delay: 0.95106s; | |
background-color: #668fcc; | |
} | |
div.loader div:nth-child(49) { | |
animation-delay: 0.98769s; | |
background-color: #6687cc; | |
} | |
div.loader div:nth-child(50) { | |
animation-delay: 1s; | |
background-color: #667fcc; | |
} | |
div.loader div:nth-child(51) { | |
animation-delay: 0.98769s; | |
background-color: #6678cc; | |
} | |
div.loader div:nth-child(52) { | |
animation-delay: 0.95106s; | |
background-color: #6670cc; | |
} | |
div.loader div:nth-child(53) { | |
animation-delay: 0.89101s; | |
background-color: #6669cc; | |
} | |
div.loader div:nth-child(54) { | |
animation-delay: 0.80902s; | |
background-color: #6b66cc; | |
} | |
div.loader div:nth-child(55) { | |
animation-delay: 0.70711s; | |
background-color: #7366cc; | |
} | |
div.loader div:nth-child(56) { | |
animation-delay: 0.58779s; | |
background-color: #7a66cc; | |
} | |
div.loader div:nth-child(57) { | |
animation-delay: 0.45399s; | |
background-color: #8266cc; | |
} | |
div.loader div:nth-child(58) { | |
animation-delay: 0.30902s; | |
background-color: #8a66cc; | |
} | |
div.loader div:nth-child(59) { | |
animation-delay: 0.15643s; | |
background-color: #9166cc; | |
} | |
div.loader div:nth-child(60) { | |
animation-delay: 0.0s; | |
background-color: #9966cc; | |
} | |
div.loader div:nth-child(61) { | |
animation-delay: -0.15643s; | |
background-color: #a166cc; | |
} | |
div.loader div:nth-child(62) { | |
animation-delay: -0.30902s; | |
background-color: #a866cc; | |
} | |
div.loader div:nth-child(63) { | |
animation-delay: -0.45399s; | |
background-color: #b066cc; | |
} | |
div.loader div:nth-child(64) { | |
animation-delay: -0.58779s; | |
background-color: #b866cc; | |
} | |
div.loader div:nth-child(65) { | |
animation-delay: -0.70711s; | |
background-color: #bf66cc; | |
} | |
div.loader div:nth-child(66) { | |
animation-delay: -0.80902s; | |
background-color: #c766cc; | |
} | |
div.loader div:nth-child(67) { | |
animation-delay: -0.89101s; | |
background-color: #cc66c9; | |
} | |
div.loader div:nth-child(68) { | |
animation-delay: -0.95106s; | |
background-color: #cc66c2; | |
} | |
div.loader div:nth-child(69) { | |
animation-delay: -0.98769s; | |
background-color: #cc66ba; | |
} | |
div.loader div:nth-child(70) { | |
animation-delay: -1s; | |
background-color: #cc66b2; | |
} | |
div.loader div:nth-child(71) { | |
animation-delay: -0.98769s; | |
background-color: #cc66ab; | |
} | |
div.loader div:nth-child(72) { | |
animation-delay: -0.95106s; | |
background-color: #cc66a3; | |
} | |
div.loader div:nth-child(73) { | |
animation-delay: -0.89101s; | |
background-color: #cc669c; | |
} | |
div.loader div:nth-child(74) { | |
animation-delay: -0.80902s; | |
background-color: #cc6694; | |
} | |
div.loader div:nth-child(75) { | |
animation-delay: -0.70711s; | |
background-color: #cc668c; | |
} | |
div.loader div:nth-child(76) { | |
animation-delay: -0.58779s; | |
background-color: #cc6685; | |
} | |
div.loader div:nth-child(77) { | |
animation-delay: -0.45399s; | |
background-color: #cc667d; | |
} | |
div.loader div:nth-child(78) { | |
animation-delay: -0.30902s; | |
background-color: #cc6675; | |
} | |
div.loader div:nth-child(79) { | |
animation-delay: -0.15643s; | |
background-color: #cc666e; | |
} | |
div.loader div:nth-child(80) { | |
animation-delay: 0.0s; | |
background-color: #cc6666; | |
} | |
/* Demo credits stuff */ | |
h1#author { | |
text-align: center; | |
color: #30303F; | |
width: 100%; | |
background-color: #ddd; | |
padding: 10px; | |
font-family: "Nixie One"; | |
text-stroke: 1px; | |
font-size: 40px; | |
text-shadow: 0 0 10px #aaa; | |
} | |
h1#author a { | |
color: #39D; | |
text-decoration: none; | |
} |
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
<div class="loader"> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
<div></div> | |
</div> | |
<h1 id="author">Demo by <a target="_blank" href="http://creative-punch.net/">Creative Punch</a></h1> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment