CSS – Sticky footer [duplicate]
Modern Clean CSS “Sticky Footer” from James Dean HTML <!DOCTYPE html> <head> <title></title> </head> <body> <nav></nav> <article>Lorem ipsum…</article> <footer></footer> </body> </html> CSS html { position: relative; min-height: 100%; } body { margin: 0 0 100px; /* bottom = footer height */ } footer { position: absolute; left: 0; bottom: 0; height: 100px; width: 100%; } … Read more