// Remove the Safari Input Focus

Handy little CSS snippet for any designer / developer out there that may have run into Safari highlighting input fields - Just add the following to your stylesheet: *:focus {outline: 0;}

Boom. No input highlights. : huggle :

P.S. Universal (*) selectors are sometimes considered bad form, so use them at the risk of losing industry respect. Just specify the field you want to fix up and you’ll still be cool. I don’t give a flying crap about it personally, so I * away.

Discussion

3 comments for “Remove the Safari Input Focus”

  1. I am so grateful to you for this tip! I looked and looked through internet sites to find the answer, and wasted so much time. Thank you. Thank you! It works! Eif

    Gravatar

    eif
    June 30, 2008, 1:04 pm

  2. Thanks for the tip!

    Love your comment about ‘industry respect’

    Gravatar

    Roel
    July 3, 2008, 2:58 am

  3. Spot on! Thanks!

    Gravatar

    fiskhandlarn
    August 22, 2008, 3:00 am

Post a comment