button square border css remove focus code example Example 1: diable focus button css *:focus { outline: 0 !important; } Example 2: remove button outlines Bootstrap (4.1) button without shadow