Recreating the Button
Google’s Doug Bowman uncovers the internal process behind Google’s new custom button styles in Gmail and Reader. He, with the help of several Google engineers, devised an approach which renders the slightly rounded corners and internal gradient — without using any images — identically for both <a> and <button> elements. It would be fantastic to see this sort of work contributed back to the community at some point, but for now Doug says we’ll need to reverse engineer the final code from one of Google’s products.