diff options
Diffstat (limited to 'docs/examples/offcanvas')
| -rw-r--r-- | docs/examples/offcanvas/offcanvas.css | 10 | ||||
| -rw-r--r-- | docs/examples/offcanvas/offcanvas.js | 6 |
2 files changed, 12 insertions, 4 deletions
diff --git a/docs/examples/offcanvas/offcanvas.css b/docs/examples/offcanvas/offcanvas.css index 50130a885..2a72199d5 100644 --- a/docs/examples/offcanvas/offcanvas.css +++ b/docs/examples/offcanvas/offcanvas.css @@ -21,10 +21,18 @@ footer { .row-offcanvas { position: relative; -webkit-transition: all .25s ease-out; - -moz-transition: all .25s ease-out; + -o-transition: all .25s ease-out; transition: all .25s ease-out; } + .row-offcanvas-right { + right: 0; + } + + .row-offcanvas-left { + left: 0; + } + .row-offcanvas-right .sidebar-offcanvas { right: -50%; /* 6 columns */ diff --git a/docs/examples/offcanvas/offcanvas.js b/docs/examples/offcanvas/offcanvas.js index 12f2dff51..ade5751fd 100644 --- a/docs/examples/offcanvas/offcanvas.js +++ b/docs/examples/offcanvas/offcanvas.js @@ -1,5 +1,5 @@ -$(document).ready(function() { - $('[data-toggle=offcanvas]').click(function() { - $('.row-offcanvas').toggleClass('active'); +$(document).ready(function () { + $('[data-toggle=offcanvas]').click(function () { + $('.row-offcanvas').toggleClass('active') }); });
\ No newline at end of file |
