Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
development:css:bootstrap [2020/03/17 13:19] kalenpw |
development:css:bootstrap [2021/06/29 15:00] (current) kalenpw |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <link rel=" | <link rel=" | ||
| </ | </ | ||
| - | |||
| ---- | ---- | ||
| - | ===== Sticky Footer ===== | ||
| - | Ensure your content is all wrapped in a ''< | ||
| - | <code css> | ||
| - | html, | ||
| - | body { | ||
| - | height: 100%; | ||
| - | } | ||
| - | |||
| - | body { | ||
| - | display: flex; | ||
| - | flex-direction: | ||
| - | } | ||
| - | |||
| - | .content-wrapper { | ||
| - | flex: 1 0 auto; | ||
| - | } | ||
| - | footer { | ||
| - | flex-shrink: | ||
| - | } | ||
| - | </ | ||