Avatar-default

-webkit-mask in action

Shot_1285015479

1 Response

  1. Avatar-default Alan Hogan

    All these close buttons are just one semitransparent black .png. For Webkit users, the close button matches the alert border, by setting the background of the close button to a solid color (e.g. red in the top example) and then setting `-webkit-mask: url(close.png);`.

    over 1 year ago

keyboard shortcuts: previous shot next shot L or F like