• 2019-10-19

    Remove outlines globally


    Start a discussion

    Some elements like textarea and button are using outline as default. Do you reset them everytime you see them? It's possible to do that globally.

    :focus {
      outline: 0;



    Implement an alternative

    To remove the outline on all elements may not be a good thing on mobile devices, unless you implement an alternative like below.

    textarea:focus {
      background: #eee;

    Source: http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/