Skip to content

Instantly share code, notes, and snippets.

Playing with CSS Filters.

Using contrast() to posterise the image, in turn rounding the overlapped blurred regions of the two circles to a block colour.

A Pen by Sam Jarvis on CodePen.

License.

Moving things around with Velocity.js

I'm moving around a whole bunch of elements with Julian Shapiro's Velocity.js. It's running pretty well on my Chrome at anywhere between 60 - 48 frames per second, impressive :)

It took around 4 hours to bang this out after first looking at the documentation, pretty easy to use if you are already a jQuery user. http://julian.com/research/velocity/

No markup because why select when you can create right?

*** I should add that this sort of thing (animation sequence) isn't really what Velocity.js was built for, but I just wanted to crank up the elements/intensity to see how the browser handled it. Incorporating Velocity.js in to your average UI transitions/animations should be a dream :)

Material Design Spinner

CSS and SVG recreation of the new Google material design loading spinner.

A Pen by Fran Pérez on CodePen.

License.

Interactive CSS3 iPhone 6

Interactive CSS3 iPhone 6

Technologies: CSS3 HTML5 JQUERY LESS.JS + LESSHAT