aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-02-11 09:57:15 -0800
committerMark Otto <[email protected]>2014-02-11 09:57:15 -0800
commite49c7758aa7bfc82c7d4b120a0144024fcd2c2fd (patch)
treedc1a276f295447744872ac8aca70e6ba03597315
parent8551f42ae2935c96bd37ae8ed15198a0cc22ede2 (diff)
parent6d232c2b9b5588cc2e06d0011e33c58e0e80aea4 (diff)
downloadbootstrap-e49c7758aa7bfc82c7d4b120a0144024fcd2c2fd.tar.xz
bootstrap-e49c7758aa7bfc82c7d4b120a0144024fcd2c2fd.zip
Merge pull request #12695 from martikaljuve/offcanvas-transition
Fixed transitions on offcanvas example by adding initial left and right properties
-rw-r--r--docs/examples/offcanvas/offcanvas.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/examples/offcanvas/offcanvas.css b/docs/examples/offcanvas/offcanvas.css
index 50130a885..eeace1601 100644
--- a/docs/examples/offcanvas/offcanvas.css
+++ b/docs/examples/offcanvas/offcanvas.css
@@ -25,6 +25,14 @@ footer {
transition: all .25s ease-out;
}
+ .row-offcanvas-right {
+ right: 0;
+ }
+
+ .row-offcanvas-left {
+ left: 0;
+ }
+
.row-offcanvas-right
.sidebar-offcanvas {
right: -50%; /* 6 columns */