回答編集履歴

2

小さい画像のplaceholderを400x400に修正

2015/06/17 03:27

投稿

ina
ina

スコア127

test CHANGED
@@ -124,25 +124,25 @@
124
124
 
125
125
  <div class="grid w1 col3 row1">
126
126
 
127
- <div class="inner" style="background-image:url(http://placehold.jp/800x400.png);"></div>
127
+ <div class="inner" style="background-image:url(http://placehold.jp/400x400.png);"></div>
128
128
 
129
129
  </div>
130
130
 
131
131
  <div class="grid w1 col4 row1">
132
132
 
133
- <div class="inner" style="background-image:url(http://placehold.jp/800x400.png);"></div>
133
+ <div class="inner" style="background-image:url(http://placehold.jp/400x400.png);"></div>
134
134
 
135
135
  </div>
136
136
 
137
137
  <div class="grid w1 col1 row2">
138
138
 
139
- <div class="inner" style="background-image:url(http://placehold.jp/800x400.png);"></div>
139
+ <div class="inner" style="background-image:url(http://placehold.jp/400x400.png);"></div>
140
140
 
141
141
  </div>
142
142
 
143
143
  <div class="grid w1 col2 row2">
144
144
 
145
- <div class="inner" style="background-image:url(http://placehold.jp/800x400.png);"></div>
145
+ <div class="inner" style="background-image:url(http://placehold.jp/400x400.png);"></div>
146
146
 
147
147
  </div>
148
148
 

1

iframeでの使用を考慮して高さ100%に変更

2015/06/17 03:26

投稿

ina
ina

スコア127

test CHANGED
@@ -14,11 +14,19 @@
14
14
 
15
15
  <style>
16
16
 
17
+ body,html{
18
+
19
+ margin:0;
20
+
21
+ height:100%;
22
+
23
+ }
24
+
17
25
  .wrapper{
18
26
 
19
27
  position:relative;
20
28
 
21
- height:500px;
29
+ height:100%;
22
30
 
23
31
  }
24
32
 
@@ -83,6 +91,8 @@
83
91
  .grid.row2{ /* 2行目 */
84
92
 
85
93
  top:50%;
94
+
95
+ padding-bottom:0;
86
96
 
87
97
  }
88
98