aboutsummaryrefslogtreecommitdiff
path: root/scss/forms
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-04-09 08:07:11 +0200
committerGitHub <[email protected]>2020-04-09 08:07:11 +0200
commit5e65b12f1cea463464419224f82163fa6a3c7432 (patch)
treecb4f62eefec1a070b2704d173fcaad8aac64b4c3 /scss/forms
parent9f6ccf9d123a35b3bc2ff48fc3312afb515b4441 (diff)
downloadbootstrap-5e65b12f1cea463464419224f82163fa6a3c7432.tar.xz
bootstrap-5e65b12f1cea463464419224f82163fa6a3c7432.zip
Add checkbox transition (#30528)
Diffstat (limited to 'scss/forms')
-rw-r--r--scss/forms/_form-check.scss4
1 files changed, 1 insertions, 3 deletions
diff --git a/scss/forms/_form-check.scss b/scss/forms/_form-check.scss
index 3666b6ab4..572bd547e 100644
--- a/scss/forms/_form-check.scss
+++ b/scss/forms/_form-check.scss
@@ -23,6 +23,7 @@
border: $form-check-input-border;
appearance: none;
color-adjust: exact; // Keep themed appearance for print
+ @include transition($form-check-transition);
&[type="checkbox"] {
@include border-radius($form-check-input-border-radius);
@@ -119,9 +120,6 @@
background-size: $form-switch-bg-size; // Get a 1px separation
@include border-radius($form-switch-border-radius);
color-adjust: exact; // Keep themed appearance for print
- // Todo: Figure out how to tackle these, with or without mixin?
- // transition: $form-switch-transition;
- // transition-property: $form-switch-transition-property;
&:focus {
background-image: escape-svg($form-switch-focus-bg-image);