diff --git a/example/assets/css/demo.css b/example/assets/css/demo.css index bb5cb1127..f40139589 100644 --- a/example/assets/css/demo.css +++ b/example/assets/css/demo.css @@ -5,6 +5,9 @@ body { font-family: 'Raleway', sans-serif; padding-bottom: 40px; } +body.no-padding { + padding: 0; +} /* Custom container */ .container-narrow { @@ -14,6 +17,19 @@ body { .container-narrow > hr { margin: 30px 0; } +.container-narrow.flex { + display: flex; + flex-direction: column; + height: 100%; +} +.header-main { + height: 92px; +} +.container-main { + height: calc(100vh - 92px); + overflow: hidden; + overflow-y: auto; +} /* Main marketing message and sign up button */ .jumbotron { diff --git a/example/custom-scroll-el/index.html b/example/custom-scroll-el/index.html new file mode 100644 index 000000000..4b8735b95 --- /dev/null +++ b/example/custom-scroll-el/index.html @@ -0,0 +1,133 @@ + + +
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+ +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis mollis augue a neque cursus ac blandit orci faucibus. Phasellus nec metus purus.
+