Border-width animations

Leigh Howells

Rather liked a couple of these border animations, seen on HTML5 Advent. I’ve never considered animating borders before, but they could add interest if applied subtly on the right project.

They only work on Safari 5.1, Chrome and Firefox 8.0. and anything else that supports border-box, but will degrade gracefully. There are a few other nice effects if you have a look around the other days in the advent calendar.