diff options
| author | Hayden Bleasel <[email protected]> | 2014-03-15 18:30:09 +1100 |
|---|---|---|
| committer | Hayden Bleasel <[email protected]> | 2014-03-15 18:30:09 +1100 |
| commit | 8ab6746cbe567029400e0a50bff696599f358038 (patch) | |
| tree | 5aeb4297f1b33bb292cd07bff376cb927a671b81 /dist/css/bootstrap.css | |
| parent | da044d9c6923bb7472b110301b1e1d9cfc543258 (diff) | |
| download | bootstrap-8ab6746cbe567029400e0a50bff696599f358038.tar.xz bootstrap-8ab6746cbe567029400e0a50bff696599f358038.zip | |
Utilised mixins rather than specific WebKit properties
Diffstat (limited to 'dist/css/bootstrap.css')
| -rw-r--r-- | dist/css/bootstrap.css | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/dist/css/bootstrap.css b/dist/css/bootstrap.css index 132bffa62..5b2afc0f7 100644 --- a/dist/css/bootstrap.css +++ b/dist/css/bootstrap.css @@ -5776,6 +5776,47 @@ button.close { bottom: 20px; } } +@media all and (-webkit-transform-3d) { + .carousel .item { + -webkit-transition: -webkit-transform .6s ease-in-out; + -o-transition: -o-transform .6s ease-in-out; + transition: transform .6s ease-in-out; + + -webkit-backface-visibility: hidden; + -ms-backface-visibility: hidden; + -o-backface-visibility: hidden; + backface-visibility: hidden; + -webkit-perspective: 1000; + -ms-perspective: 1000; + -o-perspective: 1000; + perspective: 1000; + } + .carousel .item.next, + .carousel .item.active.right { + left: 0; + -webkit-transform: translate3d(100%, 0, 0); + -ms-transform: translate3d(100%, 0, 0); + -o-transform: translate3d(100%, 0, 0); + transform: translate3d(100%, 0, 0); + } + .carousel .item.prev, + .carousel .item.active.left { + left: 0; + -webkit-transform: translate3d(-100%, 0, 0); + -ms-transform: translate3d(-100%, 0, 0); + -o-transform: translate3d(-100%, 0, 0); + transform: translate3d(-100%, 0, 0); + } + .carousel .item.next.left, + .carousel .item.prev.right, + .carousel .item.active { + left: 0; + -webkit-transform: translate3d(0%, 0, 0); + -ms-transform: translate3d(0%, 0, 0); + -o-transform: translate3d(0%, 0, 0); + transform: translate3d(0%, 0, 0); + } +} .clearfix:before, .clearfix:after, .dl-horizontal dd:before, |
