1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 01:42:36 +02:00

Add @supports feature query for Carousel CSS 3D transforms; fixes #15534 (#19751)

[skip sauce]
[skip validator]
This commit is contained in:
Chris Rebert
2016-11-25 14:51:55 -08:00
committed by Mark Otto
parent 3cfd40782c
commit 3593ee85c1
4 changed files with 47 additions and 3 deletions

View File

@@ -20,8 +20,8 @@
line-height: 1;
}
// WebKit CSS3 transforms for supported devices
@media all and (transform-3d), (-webkit-transform-3d) {
// CSS3 transforms when supported by the browser
@include if-supports-3d-transforms() {
transition: transform .6s ease-in-out;
backface-visibility: hidden;
perspective: 1000px;