1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-30 08:39:56 +02:00

Remove checkbox/radio toggle from button plugin in favor of a CSS only solution

This commit is contained in:
Martijn Cuppens
2020-05-02 11:11:24 +02:00
committed by Mark Otto
parent 1b2ea5efb1
commit 1a0a0858ef
10 changed files with 122 additions and 317 deletions

View File

@@ -134,3 +134,9 @@
display: inline-block;
margin-right: $form-check-inline-margin-right;
}
.btn-toggle {
position: absolute;
clip: rect(0, 0, 0, 0);
pointer-events: none;
}