diff options
| author | Martijn Cuppens <[email protected]> | 2020-05-02 11:11:24 +0200 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2020-06-15 19:04:19 -0700 |
| commit | 1a0a0858efa0e1e3c6bebd38058df8ad39ca27a5 (patch) | |
| tree | 7135351b96e14bda512d175af447eb9201ea737c /scss/forms | |
| parent | 1b2ea5efb1ca3cea21776bc9992a79aee47fba1a (diff) | |
| download | bootstrap-1a0a0858efa0e1e3c6bebd38058df8ad39ca27a5.tar.xz bootstrap-1a0a0858efa0e1e3c6bebd38058df8ad39ca27a5.zip | |
Remove checkbox/radio toggle from button plugin in favor of a CSS only solution
Diffstat (limited to 'scss/forms')
| -rw-r--r-- | scss/forms/_form-check.scss | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scss/forms/_form-check.scss b/scss/forms/_form-check.scss index e7afd9b25..fef7be6fe 100644 --- a/scss/forms/_form-check.scss +++ b/scss/forms/_form-check.scss @@ -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; +} |
