class | required | multiple |
---|---|---|
.elk-app | required | no |
.elk-header | no | yes |
.elk-container | required | no |
.elk-footer | no | yes |
.elk-side | no | yes |
.elk-side-header | no | yes |
.elk-side-content | no (required, if .app-side ) | no |
.elk-side-footer | no | no |
.elk-main | required | no |
.elk-main-header | no | yes |
.elk-main-content | required | no |
.elk-main-footer | no | yes |
Elektron is fluid by default. Can be used as fixed on will. All that's needed to be done is to add .is-fixed
class to elk-app
element.
<body class="elk-app is-fixed">
...
</body>
All that's needed to be done is to add .is-fixed
class to elk-app
and is-fixed
class to elk-main
elements. For example :
<body class="elk-app is-fixed">
<div class="elk-main is-fixed">
...
</div>
</body>
<!-- BEGIN .elk-header -->
<header class="elk-header is-sticky">
<a href="#elk-side" data-toggle="onoffcanvas" class="onoffcanvas-toggler" aria-expanded=false></a>
<span>APP HEADER</span>
</header>
<!-- END: .elk-header -->
<!-- begin .elk-footer -->
<footer class="elk-footer is-sticky">
<p>
elektron v0.5.2 2018
</p>
</footer>
<!-- END: .elk-footer -->