質問編集履歴

2

質問内容修正

2018/01/13 13:05

投稿

spectator
spectator

スコア8

test CHANGED
File without changes
test CHANGED
@@ -10,6 +10,8 @@
10
10
 
11
11
  ###html
12
12
 
13
+ ```
14
+
13
15
  <div class="fade-wrap">
14
16
 
15
17
           <div class="after">
@@ -82,10 +84,12 @@
82
84
 
83
85
 
84
86
 
85
-
87
+ ```
86
88
 
87
89
  ###css
88
90
 
91
+ ```
92
+
89
93
  .fade-wrap {
90
94
 
91
95
  height: 750px;
@@ -228,7 +232,7 @@
228
232
 
229
233
  .fade-wrap .after .on:nth-child(4) { margin-right: 42px; }
230
234
 
231
-
235
+ ```
232
236
 
233
237
  ###jquery
234
238
 

1

ソースの追加

2018/01/13 13:05

投稿

spectator
spectator

スコア8

test CHANGED
File without changes
test CHANGED
@@ -8,11 +8,229 @@
8
8
 
9
9
 
10
10
 
11
-
11
+ ###html
12
+
12
-
13
+ <div class="fade-wrap">
14
+
13
-
15
+          <div class="after">
16
+
14
-
17
+ <div class="box">
18
+
19
+ <article class="on">
20
+
21
+ <p class="txt-v">テキテキ</p>
22
+
23
+ </article>
24
+
25
+ <article class="on">
26
+
27
+ <p class="txt-v">テキテキ</p>
28
+
29
+ </article>
30
+
31
+ <article class="on">
32
+
33
+ <p class="txt-v">テキテキ</p>
34
+
35
+ </article>
36
+
37
+ <article class="on">
38
+
39
+ <p class="txt-v">テキテキ</p>
40
+
41
+ </article>
42
+
43
+ </div>
44
+
45
+ </div>
46
+
47
+
48
+
49
+ <div class="before">
50
+
51
+ <div class="box">
52
+
53
+ <article class="off">
54
+
55
+ <h2 class="ryo txt-v">テキテキ</span></h2>
56
+
57
+ </article>
58
+
59
+ <article class="off">
60
+
61
+ <h2 class="ryo txt-v">テキテキ</h2>
62
+
63
+ </article>
64
+
65
+ <article class="off">
66
+
67
+ <h2 class="ryo txt-v">テキテキ</h2>
68
+
69
+ </article>
70
+
71
+ <article class="off">
72
+
73
+ <h2 class="ryo txt-v">テキテキ</h2>
74
+
75
+ </article>
76
+
77
+ </div>
78
+
79
+ </div>
80
+
81
+ </div>
82
+
83
+
84
+
85
+
86
+
87
+ ###css
88
+
89
+ .fade-wrap {
90
+
91
+ height: 750px;
92
+
93
+ }
94
+
95
+
96
+
97
+ .fade-wrap .before {
98
+
99
+ /*background: url(../img/bar/course_image_01.jpg) no-repeat center top;*/
100
+
101
+ position: relative;
102
+
103
+ top: -800px;
104
+
105
+ letter-spacing: -0.4em;
106
+
107
+ min-height: 720px;
108
+
109
+ padding-top: 30px;
110
+
111
+ width: 100%;
112
+
113
+ overflow: visible!important;
114
+
115
+ }
116
+
117
+
118
+
119
+
120
+
121
+
122
+
123
+ .fade-wrap .before .off {
124
+
125
+ float: right;
126
+
127
+ letter-spacing: 6px;
128
+
129
+ width: 30px;
130
+
131
+ height: 500px;
132
+
133
+ text-shadow:
134
+
135
+ 0 0 5px #000,
136
+
137
+ 0 0 5px #000;
138
+
139
+ overflow: visible!important;
140
+
141
+ }
142
+
143
+
144
+
145
+
146
+
147
+ .fade-wrap .before .off:nth-child(1) { margin-right: 102px; }
148
+
149
+ .fade-wrap .before .off:nth-child(2) { margin-right: 213px; }
150
+
151
+ .fade-wrap .before .off:nth-child(3) { margin-right: 233px; }
152
+
153
+ .fade-wrap .before .off:nth-child(4) { margin-right: 224px; }
154
+
155
+
156
+
157
+ .fade-wrap .before h2 .combine,
158
+
159
+ .fade-wrap .after p .combine {
160
+
161
+ -webkit-writing-mode: horizontal-tb;
162
+
163
+ -moz-writing-mode: horizontal-tb;
164
+
165
+ -ms-writing-mode: lr-tb;
166
+
167
+ writing-mode: horizontal-tb;
168
+
169
+ letter-spacing: 2px;
170
+
171
+ display: inline-block;
172
+
173
+ line-height: 1.5;
174
+
175
+ }
176
+
177
+ .fade-wrap .before h2 .price {
178
+
179
+ font-size: 80%;
180
+
181
+ }
182
+
183
+
184
+
185
+ .fade-wrap .after {
186
+
187
+ /*display: none;*/
188
+
189
+ /*position: relative;
190
+
191
+ top: -800px;*/
192
+
193
+ background: url(../img/bar/course_image_01.jpg) no-repeat center top;
194
+
195
+ letter-spacing: -0.4em;
196
+
197
+ min-height: 780px;
198
+
199
+ padding-top: 20px;
200
+
201
+ width: 100%;
202
+
203
+ }
204
+
205
+
206
+
207
+ .fade-wrap .after .on {
208
+
209
+ background-color: rgba(0,0,0,0.8);
210
+
211
+ float: right;
212
+
213
+ letter-spacing: 1px;
214
+
215
+ min-height: 380px;
216
+
217
+ padding: 2%;
218
+
219
+ }
220
+
221
+
222
+
223
+ .fade-wrap .after .on:nth-child(1) { margin-right: 21px; }
224
+
225
+ .fade-wrap .after .on:nth-child(2) { margin-right: 52px; }
226
+
227
+ .fade-wrap .after .on:nth-child(3) { margin-right: 65px; }
228
+
229
+ .fade-wrap .after .on:nth-child(4) { margin-right: 42px; }
230
+
231
+
232
+
15
- ###該当のソースコード
233
+ ###jquery
16
234
 
17
235
  ```ここに言語を入力
18
236