Recent Features
![Page Visibility API]()
Page Visibility API
One event that's always been lacking within the document is a signal for when the user is looking at a given tab, or another tab. When does the user switch off our site to look at something else? When do they come back?
![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...
Incredible Demos
![afterscriptexecute Event]()
afterscriptexecute Event
Fellow Mozillian Daniel Buchner, curator of the X-Tag project and clever developer who showed us how to detect dom node insertions using CSS animations, recently showed me a new JavaScript feature I'd never heard of: the
SCRIPTelement's afterscriptexecute event.![HTML5 Placeholder Styling with CSS]()
HTML5 Placeholder Styling with CSS
Last week I showed you how you could style selected text with CSS. I've searched for more interesting CSS style properties and found another:
INPUTplaceholder styling. Let me show you how to style placeholder text withinINPUTelements with some unique CSS code. The CSS Firefox...


