Skip to content

Instantly share code, notes, and snippets.

Avatar

Rıza Selçuk Saydam rssems

View GitHub Profile
View framerTimer
origin = null
timer = null
time = ->
now = Date.now()
secs = Math.floor((now - origin) / 1000)
s = secs % 60
min = Math.floor(secs / 60)
if s < 10 then s = "0" + s
if min < 10 then min = "0" + min
@rssems
rssems / index.html
Created May 25, 2013
A CodePen by Rıza Selçuk Saydam. Flutterby - This is a single element pure CSS3 butterfly and animation.
View index.html
<div class="minimalsworld">
<span class="flutterby">.</span>
</div>
View A12-Transition.css
p { transition: all 0s 9999999s; } span:active ~ p { transition: all 0s; color: red; }
View A09-focus.example
<span tabindex="0">TIKLA</span> <p>Web Magazin</p>
View A07-target.html
<a href="#id">TIKLA</a> <p id="id">Web Magazin</p>
View A06-checked.css
*,
*:after,
*:before {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin: 0;
}