Showing
2 changed files
with
17 additions
and
4 deletions
| ... | @@ -13,15 +13,24 @@ | ... | @@ -13,15 +13,24 @@ |
| 13 | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> | 13 | <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script> |
| 14 | 14 | ||
| 15 | <style> | 15 | <style> |
| 16 | + html { | ||
| 17 | + min-height: 100%; | ||
| 18 | + position: relative; | ||
| 19 | + } | ||
| 20 | + | ||
| 21 | + body { | ||
| 22 | + height: 100%; | ||
| 23 | + } | ||
| 24 | + | ||
| 16 | .content { | 25 | .content { |
| 17 | display: flex; | 26 | display: flex; |
| 18 | flex-direction: row; | 27 | flex-direction: row; |
| 28 | + height: 500px; | ||
| 19 | } | 29 | } |
| 20 | 30 | ||
| 21 | .nav { | 31 | .nav { |
| 22 | flex: 1; | 32 | flex: 1; |
| 23 | background-color: black; | 33 | background-color: black; |
| 24 | - | ||
| 25 | } | 34 | } |
| 26 | 35 | ||
| 27 | .jumbotron { | 36 | .jumbotron { |
| ... | @@ -30,9 +39,12 @@ | ... | @@ -30,9 +39,12 @@ |
| 30 | background-color: white; | 39 | background-color: white; |
| 31 | } | 40 | } |
| 32 | 41 | ||
| 33 | - #footer { | 42 | + footer { |
| 43 | + position: absolute; | ||
| 44 | + bottom: 0; | ||
| 45 | + width: 100%; | ||
| 34 | text-align: center; | 46 | text-align: center; |
| 35 | - background-color: gray; | 47 | + background-color: black; |
| 36 | color: white; | 48 | color: white; |
| 37 | font-weight: lighter; | 49 | font-weight: lighter; |
| 38 | } | 50 | } | ... | ... |
-
Please register or login to post a comment