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

32

use outline:0 this will remove the blue boarder

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

JsFiddle example

Tony
  • 5,693
  • 1
  • 36
  • 54
Timo Jungblut
  • 642
  • 6
  • 16
  • 5
    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