Created
April 9, 2017 21:20
-
-
Save gustaff-weldon/812ba0af58bd9de4b8de686c323ab257 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
This file contains hidden or 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
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
.button { | |
background: #f06; | |
padding: 20px; | |
} | |
.bg-trans:hover { | |
background: yellow; | |
} | |
.bg-trans { | |
transition:background .5s ease-in-out; | |
} | |
.bg-anim { | |
animation: flashBg 3.5s infinite ease-in-out; | |
} | |
.blink { | |
animation: blink 3.5s infinite ease-in-out; | |
} | |
.off-1 { | |
animation-delay: 200ms; | |
} | |
.off-2 { | |
animation-delay: 400ms; | |
} | |
.slide-shine { | |
background: #eee; | |
position:relative; | |
} | |
.slide-shine:after { | |
content: ""; | |
width: 2%; | |
background: linear-gradient(to right, #eee, red 50%, #eee); | |
position: absolute; | |
left: 0; | |
top: 0; | |
bottom: 0; | |
animation: slide 3s infinite alternate ease-in; | |
} | |
@keyframes slide { | |
0% { | |
left; 0; | |
} | |
100% { | |
left: 100% | |
} | |
} | |
@keyframes flashBg { | |
from, 50%, to { | |
background: #f06; | |
} | |
25%, 75% { | |
background: yellow; | |
} | |
} | |
@keyframes blink { | |
0%, 50%, | |
100% { | |
opacity: 0; | |
} | |
25%, 75% { | |
opacity: 1; | |
} | |
} |
This file contains hidden or 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
<button class="button bg-trans">Missa Button</button> | |
<button class="button bg-anim">Missa Button</button> | |
<p class="blink">processing</p> | |
<p >processing<span class="blink">...</span></p> | |
<p >processing<span class="blink">.</span><span class="blink off-1">.</span><span class="blink off-2">.</span></p> | |
<p class="slide-shine">shine proccessing...</p> |
This file contains hidden or 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
// alert('Hello world!'); |
This file contains hidden or 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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment