remove outline when button clicked css code example Example 1: css remove button outline button:focus {outline:0;} Example 2: how to remove outline on button outline: none;