get rid of blue highlight box css button code example Example 1: diable focus button css *:focus { outline: 0 !important; } Example 2: remove button outlines Bootstrap (4.1) button without shadow