Skip to content

Commit d64503d

Browse files
authored
Merge pull request #56 from clojerl/55.background.on.mobile
[Closes #55] Apply background to html element
2 parents 6cbb080 + 50983c9 commit d64503d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

priv/css/main.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
body {
1+
html {
22
background: url(../img/background.jpg) no-repeat center center fixed;
33
-webkit-background-size: cover;
44
-moz-background-size: cover;
55
-o-background-size: cover;
66
background-size: cover;
7+
height: 100%;
8+
overflow: hidden;
79
}
810

911
#content {

0 commit comments

Comments
 (0)