Recent Features
![CSS vs. JS Animation: Which is Faster?]()
CSS vs. JS Animation: Which is Faster?
How is it possible that JavaScript-based animation has secretly always been as fast — or faster — than CSS transitions? And, how is it possible that Adobe and Google consistently release media-rich mobile sites that rival the performance of native apps? This article serves as a point-by-point...
![Write Better JavaScript with Promises]()
Write Better JavaScript with Promises
You've probably heard the talk around the water cooler about how promises are the future. All of the cool kids are using them, but you don't see what makes them so special. Can't you just use a callback? What's the big deal? In this article, we'll...
Incredible Demos
![Skype-Style Buttons Using MooTools]()
Skype-Style Buttons Using MooTools
A few weeks back, jQuery expert Janko Jovanovic dropped a sweet tutorial showing you how to create a Skype-like button using jQuery. I was impressed by Janko's article so I decided to port the effect to MooTools. The XHTML This is the exact code provided by...
![MooTools: Set Style Per Media]()
MooTools: Set Style Per Media
I'd bet one of the most used MooTools methods is the
setStyle()method, which allows you to set CSS style declarations for an element. One of the limitations of MooTools'setStyle()method is that it sets the specific style for all medias.


