15

I've created CheckBox with ios style:

<form>
<input id="ckbx" type="checkbox"  value="map_one">
</form>

jsFiddle link

Ive tried to remove the blue border that created when clicked the button, without success.

plz help me to remove it.

Gady Tal
  • 193
  • 1
  • 1
  • 8

1 Answers1

33

use outline:0 this will remove the blue boarder

    input[type="checkbox"]:focus{
        outline:0;
    }

JsFiddle example

Tony
  • 5,972
  • 2
  • 39
  • 58
Timo Jungblut
  • 662
  • 6
  • 16
  • 6
    Keep in mind that this makes it impossible to see whether the checkbox is selected by keyboard navigation using the TAB key. – amoebe Mar 21 '18 at 13:50