aboutsummaryrefslogtreecommitdiff
path: root/less/component-animations.less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-09-24 10:38:01 -0700
committerMark Otto <[email protected]>2014-09-24 10:38:01 -0700
commit28582080385ab8ade3949644b36794335a4ba80d (patch)
tree4241265af6228f885c47cb6a67c96228a497763f /less/component-animations.less
parent73117814ea1d3312c242cea51f9d0cbf8764b550 (diff)
parent6cfd176ac3d0eedc5b9b50fd88bf0774af0f1222 (diff)
downloadbootstrap-28582080385ab8ade3949644b36794335a4ba80d.tar.xz
bootstrap-28582080385ab8ade3949644b36794335a4ba80d.zip
Merge pull request #14673 from twbs/restore_sr_friendly_collapse
More screenreader friendly Collapse, Take 2
Diffstat (limited to 'less/component-animations.less')
-rw-r--r--less/component-animations.less7
1 files changed, 5 insertions, 2 deletions
diff --git a/less/component-animations.less b/less/component-animations.less
index 9400a0d32..967715d98 100644
--- a/less/component-animations.less
+++ b/less/component-animations.less
@@ -17,8 +17,9 @@
.collapse {
display: none;
+ visibility: hidden;
- &.in { display: block; }
+ &.in { display: block; visibility: visible; }
tr&.in { display: table-row; }
tbody&.in { display: table-row-group; }
}
@@ -27,5 +28,7 @@
position: relative;
height: 0;
overflow: hidden;
- .transition(height .35s ease);
+ .transition-property(~"height, visibility");
+ .transition-duration(.35s);
+ .transition-timing-function(ease);
}