projects
/
web
/
SooLocks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a22bb21
)
making bg image fixed work in iOS/Safari
author
Ove Klykken
<klykken@gmail.com>
Thu, 19 Jun 2014 16:25:46 +0000
(12:25 -0400)
committer
Ove Klykken
<klykken@gmail.com>
Thu, 19 Jun 2014 16:25:46 +0000
(12:25 -0400)
assets/bg.jpg
patch
|
blob
|
history
styles.css
patch
|
blob
|
history
diff --git
a/assets/bg.jpg
b/assets/bg.jpg
index
1f599ba
..
ea25b0d
100644
(file)
Binary files a/assets/bg.jpg and b/assets/bg.jpg differ
diff --git
a/styles.css
b/styles.css
index
7171fe6
..
f800eea
100644
(file)
--- a/
styles.css
+++ b/
styles.css
@@
-1,5
+1,14
@@
+html {
+ background-size: cover;
+height: 100%;
+overflow: hidden;
+ background: url(assets/bg2.jpg) center top fixed;
+}
body {
- background: url(assets/bg2.jpg) fixed;
+height:100%;
+overflow: auto;
+-webkit-overflow-scrolling: touch;
+background: transparent;
}
.hide-text {
text-indent: 9999px;