overflowhidden’s avataroverflowhidden’s Twitter Archive—№ 1,747

  1. Here’s an addition to CSS that I would find really useful: label { outline: default; } when you want to add the browser default outline to an element, ie. when you’ve created a custom checkbox where you have to apply the outline manually because the native checkbox is hidden.
    1. …in reply to @overflowhidden
      Browsers apply different outlines and it’s impossible to mimic the default styling (AFAIK), but a “default” keyword could do exactly that. Would probably be great for accessibility. * ie. Chrome: blue blurry thingy, FF: dotted 1px that inherits element’s color