I’m Dudley Storey, the author of Pro CSS3 Animation. This is my blog, where I talk about web design and development with , and . To receive more information, including news, updates, and tips, you should follow me on Twitter or add me on Google+.

web developer guide

my books

Book cover of Pro CSS3 AnimationPro CSS3 Animation, Apress, 2013

my projects

A Sass color keyword system for designers. Replaces CSS defaults with improved hues and more memorable, relevant color names.

CSSslidy: an auto-generated #RWD image slider. 3.8K of JS, no JQuery. Drop in images, add a line of CSS. Done.

tipster.ioAutomatically provides local tipping customs and percentages for services anywhere.

A closeup of the head of a swimming polar bear, shot underwater
A photograph of a sitting tiger cub
Photograph of a male lion lying on green grass
Closeup photograph of a tiger
Photograph of a swimming polar bear, shot from underwater and underneath
A photograph of a sitting lion and lioness in profile

Filtered Flexbox: A Dynamic Image Gallery

javascript / galleries

Estimated reading time: 3 minutes

While I’ve shown filtered responsive image galleries in the past, they don’t have the dynamism that some designers desire. Of course, it’s easy to take “dynamism” too far, into what I refer to as “swooshy-swooshy” UI, with massive dependencies on frameworks and plugins and everything on the page whirling about in confusion.

This gallery code seeks balance: a straightforward UI coupled with non-disorienting animation. Along the way, we can learn a few things about making progressively enhanced UI elements.

Photograph of a blurred waterfall in Iceland with a conical mountain behind it

Responsive Images For Retina: Using HTML5’s srcset

mobile / responsive design

Estimated reading time: 5 minutes

This past Thursday saw the release of Apple’s new “Retina”-screen iMac, making it official: we are now in the world of desktop high-DPI screens. This makes the job of designers and developers doubly difficult, expanding an image quality problem that was previously confined to mobile devices and high-end laptops to one that will soon reach computers everywhere.

Thankfully, HTML5 now has a solution. But before looking at that, we should have a better understanding of the Retina problem.

An SVG Analog Clock In 6 Lines of JavaScript

javascript / time

Estimated reading time: 2 minutes, 45 seconds

Compared to the JavaScript digital clock I demonstrated in the previous article, this SVG analog clock uses fewer lines of code, and has the advantage of being infinitely scalable.

I’ve always admired the elegance of the code, expressed earlier by Felix Gnass. First, there’s my version of the , which consists of just four elements: the dial, and three rectangular hands (hours, minutes, and seconds):

This site helps millions of visitors while remaining ad-free. For less than the price of a cup of coffee, you can help pay for bandwidth and server costs while encouraging further articles.