A collection of code snippets and experiments.
Demonstration of a fully accessible autocomplete/search component in vanilla JavaScript. Based on the WAI-ARIA authoring practices 1.1.
Pinterest-like masonry layout using CSS column properties. No JavaScript required!
A large site header with hero image, title and navigation on the left half, and a circular logo cutout.
Frosted glass effect using CSS3 filter property. The card's title and description slide up on hover, blurring the card's background behind them.
Simple, responsive, single-div device mockups using raw CSS. Inspired by Stripe. The devices automatically size to the dimensions of the image inside them.