How can I remove the blue glow that surrounds a selected text input box using pure CSS?
相关问题
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
- jQuery hover to slide?
- Issue with star rating css
This should do it:
EDIT (2015): If you are designing for a wide audience, recall that the outline is often a critical accessibility feature for users who navigate via keyboards or require more apparent visual feedback. If you remove the outline, make sure to define an alternative focus state that provides appropriate visual feedback to your users.
I prefer a nice solid reset like:
Outline 'none' on anchor tags prevents horrible focus outlines on many Android browsers.