I am attempting to create a layout with two stacked elements and a footer.
.background
.container-fluid
.footer
You can view my code on this fiddle:
http://jsfiddle.net/z9Unk/309/
My expectation is for the background to be displayed in green with the footer at the bottom.
However, it currently displays as black (body's background color). Why is this happening?
If I remove the background-color from body
, then the green background appears.
Is there a way to show the green background without removing the background-color
from the body?