回答編集履歴

3

background-sizeを使わないで実装しなきゃ意味がなかった

2016/03/15 16:30

投稿

k_fujimoto
k_fujimoto

スコア181

test CHANGED
@@ -30,8 +30,6 @@
30
30
 
31
31
  background: url(http://androidcentral.us/wp-content/uploads/2014/06/low-poly-texture-18.png?541271) center no-repeat;
32
32
 
33
- background-size:cover;
34
-
35
33
  }
36
34
 
37
35
  ```

2

リンクつけました

2016/03/15 16:30

投稿

k_fujimoto
k_fujimoto

スコア181

test CHANGED
@@ -1,6 +1,6 @@
1
1
  background-sizeプロパティはandroid4.3以下だと未サポートの可能性が高いですね。
2
2
 
3
- http://caniuse.com/#search=background-size
3
+ [http://caniuse.com/#search=background-size](http://caniuse.com/#search=background-size)
4
4
 
5
5
 
6
6
 

1

jsの記述追加

2016/03/15 13:04

投稿

k_fujimoto
k_fujimoto

スコア181

test CHANGED
@@ -35,3 +35,19 @@
35
35
  }
36
36
 
37
37
  ```
38
+
39
+
40
+
41
+ ```javascript
42
+
43
+ $(function(){
44
+
45
+ $('.l-mainvisual').backgroundcover({
46
+
47
+ safearea: "10%,50%,10%,10%"
48
+
49
+ });
50
+
51
+ });
52
+
53
+ ```