Faking CSS clipping with masking DIVs

The idea is to fake the CSS clip property using four <div> elements masking parts of the underlying image: top, left, right, and bottom. In the middle is a hole.

Files: index.html, mask.css, mask.js