TreeviewCopyright © aleen42 all right reserved, powered by aleen42
  • here is an example of writing footer whose height is 97px:
<body>
    <div class="container"></div>
    <div id="footer"></div>
</body>
* {
    margin: 0;
}

/**
 * html
 */
html {
    height: 100%;
}

/**
 * body
 */
body {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    width: 100%;
    position: relative;
}

/**
 * container
 */
.container {
    padding-bottom: 97px;
}

/**
 * footer
 */
#footer {
    height: 97px;
    width: 100%;
    background-color: #000;
}

Demo

See the Pen bpbmKd by aleen42 (@aleen42) on CodePen.

Empty Comments
Sign in GitHub

As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.

Notice: This plugin has used Cookie to store your token with an expiration.