Fix body/html height
2454221f994bfb09458cfa55cfae30c87542e6a2
1 parent
5cb5207e
style.css
+5 -0
| 1 | + | html { |
|
| 2 | + | height: 100%; |
|
| 3 | + | } |
|
| 4 | + | ||
| 1 | 5 | body { |
|
| 2 | 6 | background: url(/images/bg.png) no-repeat fixed bottom center; |
|
| 3 | 7 | background-size: contain; |
|
| 8 | + | height: 100%; |
|
| 4 | 9 | } |
|
| 5 | 10 | ||
| 6 | 11 | h1 { |
|
| 7 | 12 | font-size: 20px; |
|
| 8 | 13 | text-shadow: -2px -2px white; |