Skip to content

Commit d5c37f7

Browse files
committed
custom swicth possible fix
1 parent acca30f commit d5c37f7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

css/bootstrap-ie9.css

+3
Original file line numberDiff line numberDiff line change
@@ -251,3 +251,6 @@ aside,
251251
.form-group > .is-invalid:focus {
252252
box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
253253
}
254+
.custom-switch .custom-control-input:checked ~ .custom-control-label:after {
255+
-ms-transform: translateX(0.75rem);
256+
}

test.htm

+5-1
Original file line numberDiff line numberDiff line change
@@ -804,6 +804,10 @@ <h1>Forms</h1>
804804
<span class="custom-file-control"></span>
805805
</label>
806806
</div>
807+
<div class="custom-control custom-switch">
808+
<input type="checkbox" class="custom-control-input" id="customSwitch1">
809+
<label class="custom-control-label" for="customSwitch1">Toggle this switch element</label>
810+
</div>
807811
</fieldset>
808812
</div>
809813
</div>
@@ -1835,7 +1839,7 @@ <h4 class="modal-title">modal-lg</h4>
18351839
</div>
18361840
</div>
18371841
</div>
1838-
1842+
18391843
<div id="source-modal-xl" class="modal fade">
18401844
<div class="modal-dialog modal-xl">
18411845
<div class="modal-content">

0 commit comments

Comments
 (0)