http://ln.hixie.ch/?start=1037910467&count=1
http://ln.hixie.ch/?start=1137740632&count=1
### | |
Text masked spring particles | |
Author: Kushagra Gour a.k.a. Chin Chang | |
### | |
# requestanimationframe polyfill | |
window.requestAnimFrame = (-> | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
window.oRequestAnimationFrame || |
### | |
Text masked spring particles | |
Author: Kushagra Gour a.k.a. Chin Chang | |
### | |
# requestanimationframe polyfill | |
window.requestAnimFrame = (-> | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || |
YUI.add('node-scroll-info', function (Y) { | |
/** | |
Provides the ScrollInfo Node plugin, which exposes convenient events and methods | |
related to scrolling. | |
@module node-scroll-info | |
**/ | |
/** |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Pure CSS3 Slideshow Without Page Jump · CodePen</title> | |
<style> |
/* some uses for :hover Pseudo class and '~' selector */ | |
/*/ 360deg Goggle view /*/ | |
/* le wrapper */ | |
.g { | |
width: 600px; | |
height: 400px; | |
margin: 50px auto; |
/** | |
* Scrolling shadows by @kizmarh and @leaverou | |
* Only works in browsers supporting background-attachment: local; & CSS gradients | |
* Degrades gracefully | |
*/ | |
html { background: white; } | |
.scrollbox { | |
overflow: auto; |
// ---------------------------------------------------------- | |
// A short snippet for detecting versions of IE in JavaScript | |
// without resorting to user-agent sniffing | |
// ---------------------------------------------------------- | |
// If you're not in IE (or IE version is less than 5) then: | |
// ie === undefined | |
// If you're in IE (>=5) then you can determine which version: | |
// ie === 7; // IE7 | |
// Thus, to detect IE: | |
// if (ie) {} |