Way! Transparent custom corners and borders presents a technique to create resizeable boxes with custom-shaped corners, entirely in CSS, with a clever bit of Javascript to insert the empty div elements that make it all work. By the time I read through all the code, I decided it’s a hack to make other hacks blush, but its results are remarkably elegant. The rest of Roger Johansson’s site contains other equally remarkable tips and tricks for Web design.