davidcl7
davidcl7

Reputation: 65

Zurb Foundation full body background

I want to apply background to whole page. When I add code to CSS, nothing happens, but when I write some text in HTML, only part behind text is painted to color that I previously set in CSS.

I'm using Sass and when I exclude app.css, everything gets normal (because Foundation is excluded).

Here is my CSS

/* line 5, ../sass/master.scss */
body {
  background: url("../img/bg.png");
}

/* line 8, ../sass/master.scss */
header {
background: black;
}

Anybody knows solution?

Upvotes: 3

Views: 3282

Answers (1)

Try html, body { height: 100%; }.

Upvotes: 7

Related Questions