It's not frequently used, but if all you need is a square, the css
clip: rect(t,r,b,l);
works well. I've used it to create a sort of "expand/contract" effect. But you can use it for masking as well (true masking, the background behind it shines through).