Just a fun little example that helps answer a question in the GreenSock forums: http://greensock.com/forums/topic/10457-timeline-max-particles/
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
<div class="box red"></div> | |
<div class="box blue"></div> | |
<div class="box red"></div> | |
<div class="box blue"></div> | |
<div class="box red"></div> | |
<div class="box blue"></div> | |
<div class="box red"></div> | |
<div class="box blue"></div> | |
CSSPlugin + BezierPlugin fun powered by:
http://www.greensock.com/gsap-js/
BezierPlugin Docs: http://api.greensock.com/js/com/greensock/plugins/BezierPlugin.html
CSSPlugin + BezierPlugin fun powered by:
http://www.greensock.com/gsap-js/
BezierPlugin Docs: http://api.greensock.com/js/com/greensock/plugins/BezierPlugin.html
A loop version of my Neutrons experiment (http://ayamflow.fr/labs/canvas/Neutrons/) made for the awwward contest
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
/** | |
* (C)Leanest CSS spinner ever | |
*/ | |
@keyframes spin { | |
to { transform: rotate(1turn); } | |
} | |
.progress { | |
position: relative; |
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
/** | |
* Border clipping with border-image | |
* Support: Chrome, Opera, Safari, Firefox. Cannot get it to work in IE11, even though it supports border-image… | |
* Note: In CSS Backgrounds & Borders 4, there will be a property to clip borders (likely called border-clip). Until then though… | |
* Author: Lea Verou | |
*/ | |
div { | |
border-top: .2em solid; /* Sets the thickness, also serves as fallback when no border-image */ | |
border-image: 100% 0 0 linear-gradient(90deg, currentColor 5em, transparent 0); /* 5em is the width of clipped border */ |