All you need to do is add the canvasmask.js script and add a class of mask to each image you want to mask. You also need to provide a PNG file as the mask using the data-mask attribute. <img src="red-panda.jpg" alt="Red panda" class="mask" data-mask="centerblur.png"> Canvas Masking Demo → Canvas Masking Source →
Tag Archives: link
Photoset Grid
Auto-hiding scrollbars in IE10
How to Work with Engineers
Engineers are the magicians of the crew, who, with a few taps of their fingers, take the plans and the pixels and Voila! A working implementation. As a designer, how do you best keep up with their meme-savvy, self-deprecating, script-loving ways? Keep reading. And remember: Want to make stuff happen? All you need to do …
Responsive Elements
FlowType.JS
Ideally, the most legible typography contains between 45 and 75 characters per line. This is difficult to accomplish for all screen widths with only CSS media-queries. FlowType.JS eases this difficulty by changing the font-size—and subsequently the line-height—based on a specific element’s width. This allows for a perfect character count per line at any screen width. …
Formstone
FireShell, fiercely quick front-end boilerplate and workflows
HelloRun
Phonebloks
A phone only lasts a couple of years before it breaks or becomes obsolete. Although it’s often just one part which killed it, we throw everything away since it’s almost impossible to repair or upgrade. Phonebloks is made of detachable bloks. The bloks are connected to the base which locks everything together into a solid …