Recent Features
![CSS @supports]()
CSS @supports
Feature detection via JavaScript is a client side best practice and for all the right reasons, but unfortunately that same functionality hasn't been available within CSS. What we end up doing is repeating the same properties multiple times with each browser prefix. Yuck. Another thing we...
![Regular Expressions for the Rest of Us]()
Regular Expressions for the Rest of Us
Sooner or later you'll run across a regular expression. With their cryptic syntax, confusing documentation and massive learning curve, most developers settle for copying and pasting them from StackOverflow and hoping they work. But what if you could decode regular expressions and harness their power? In...
Incredible Demos
![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.![CSS Background Animations]()
CSS Background Animations
Background animations are an awesome touch when used correctly. In the past, I used MooTools to animate a background position. Luckily these days CSS animations are widely supported enough to rely on them to take over JavaScript-based animation tasks. The following simple CSS snippet animates...


