Reputation: 65
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