質問編集履歴
5
編集
test
CHANGED
File without changes
|
test
CHANGED
@@ -26,6 +26,17 @@
|
|
26
26
|
|
27
27
|
|
28
28
|
```HTML
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
<div class="top">
|
33
|
+
<h1>サンプル</h1>
|
34
|
+
<img src="" />
|
35
|
+
</div>
|
36
|
+
|
37
|
+
|
38
|
+
|
39
|
+
|
29
40
|
<div class="wrapper"></div>
|
30
41
|
|
31
42
|
<div class="section">
|
4
訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -55,15 +55,6 @@
|
|
55
55
|
</div>
|
56
56
|
</div>
|
57
57
|
|
58
|
-
|
59
|
-
<div class="img">
|
60
|
-
<img src="" />
|
61
|
-
</div>
|
62
|
-
|
63
|
-
|
64
|
-
<footer>
|
65
|
-
</footer>
|
66
|
-
|
67
58
|
<!--------二段目--------->
|
68
59
|
|
69
60
|
<div class="section">
|
@@ -92,6 +83,16 @@
|
|
92
83
|
</div>
|
93
84
|
</div>
|
94
85
|
</div>
|
86
|
+
|
87
|
+
|
88
|
+
<div class="category">
|
89
|
+
<img src="" />
|
90
|
+
</div>
|
91
|
+
|
92
|
+
|
93
|
+
<footer>
|
94
|
+
</footer>
|
95
|
+
|
95
96
|
|
96
97
|
```
|
97
98
|
|
@@ -196,6 +197,8 @@
|
|
196
197
|
}).scroll();
|
197
198
|
|
198
199
|
|
200
|
+
|
201
|
+
|
199
202
|
```
|
200
203
|
|
201
204
|
|
3
訂正
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,6 +56,13 @@
|
|
56
56
|
</div>
|
57
57
|
|
58
58
|
|
59
|
+
<div class="img">
|
60
|
+
<img src="" />
|
61
|
+
</div>
|
62
|
+
|
63
|
+
|
64
|
+
<footer>
|
65
|
+
</footer>
|
59
66
|
|
60
67
|
<!--------二段目--------->
|
61
68
|
|
2
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -94,7 +94,7 @@
|
|
94
94
|
top: 0;
|
95
95
|
left: 0;
|
96
96
|
width: 100%;
|
97
|
-
height: 100
|
97
|
+
height: 100%;
|
98
98
|
z-index: 1;
|
99
99
|
}
|
100
100
|
|
1
HTMLとCSSを追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,145 @@
|
|
24
24
|
何卒、宜しくお願いいたします。
|
25
25
|
|
26
26
|
|
27
|
+
|
28
|
+
```HTML
|
29
|
+
<div class="wrapper"></div>
|
30
|
+
|
31
|
+
<div class="section">
|
32
|
+
<div class="section__text">
|
33
|
+
<div class="section__text__inner section__box">
|
34
|
+
|
35
|
+
<h2>サンプル</h2>
|
36
|
+
<h3>サンプル</h3>
|
37
|
+
<p class="fixed_heading">説明 説明 説明</p>
|
38
|
+
<p>説明 説明 説明</p>
|
39
|
+
</div>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
|
43
|
+
<div class="section__body">
|
44
|
+
<div class="section__img">
|
45
|
+
<section class="sec">
|
46
|
+
<img src="" />
|
47
|
+
</section>
|
48
|
+
<section class="sec">
|
49
|
+
<img src="" />
|
50
|
+
</section>
|
51
|
+
<section class="sec">
|
52
|
+
<img src="" />
|
53
|
+
</section>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
|
59
|
+
|
60
|
+
<!--------二段目--------->
|
61
|
+
|
62
|
+
<div class="section">
|
63
|
+
<div class="section__text">
|
64
|
+
<div class="section__text__inner section__box">
|
65
|
+
|
66
|
+
<h2>サンプル</h2>
|
67
|
+
<h3>サンプル</h3>
|
68
|
+
<p class="fixed_heading">説明 説明 説明</p>
|
69
|
+
<p>説明 説明 説明</p>
|
70
|
+
</div>
|
71
|
+
</div>
|
72
|
+
|
73
|
+
|
74
|
+
<div class="section__body">
|
75
|
+
<div class="section__img">
|
76
|
+
<section class="sec">
|
77
|
+
<img src="" />
|
78
|
+
</section>
|
79
|
+
<section class="sec">
|
80
|
+
<img src="" />
|
81
|
+
</section>
|
82
|
+
<section class="sec">
|
83
|
+
<img src="" />
|
84
|
+
</section>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
</div>
|
88
|
+
|
89
|
+
```
|
90
|
+
|
91
|
+
```CSS
|
92
|
+
.wrapper {
|
93
|
+
position: fixed;
|
94
|
+
top: 0;
|
95
|
+
left: 0;
|
96
|
+
width: 100%;
|
97
|
+
height: 100%;
|
98
|
+
z-index: 1;
|
99
|
+
}
|
100
|
+
|
101
|
+
.section {
|
102
|
+
display: flex;
|
103
|
+
justify-content: space-between;
|
104
|
+
z-index: 2;
|
105
|
+
position: relative;
|
106
|
+
width: 100%;
|
107
|
+
}
|
108
|
+
|
109
|
+
.section__text {
|
110
|
+
position: relative;
|
111
|
+
display: flex;
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
.section__text__inner {
|
116
|
+
position: fixed;
|
117
|
+
left: 0%;
|
118
|
+
width: 35%;
|
119
|
+
height: 100vh;
|
120
|
+
margin: 0 auto;
|
121
|
+
top: 0%;
|
122
|
+
mix-blend-mode: multiply;
|
123
|
+
background-size: contain;
|
124
|
+
background-repeat: no-repeat;
|
125
|
+
transition: filter .6s ease, opacity .6s ease, background-position 0.5s ease;
|
126
|
+
filter: blur(10px);
|
127
|
+
|
128
|
+
}
|
129
|
+
|
130
|
+
|
131
|
+
.section__box {
|
132
|
+
visibility: hidden;
|
133
|
+
}
|
134
|
+
|
135
|
+
|
136
|
+
|
137
|
+
.section__text img {
|
138
|
+
object-fit: cover;
|
139
|
+
}
|
140
|
+
|
141
|
+
|
142
|
+
.section.active .section__text__inner {
|
143
|
+
opacity: 1;
|
144
|
+
visibility: visible;
|
145
|
+
background-position: 50% 50%;
|
146
|
+
filter: blur(0);
|
147
|
+
}
|
148
|
+
|
149
|
+
|
150
|
+
.section__body {
|
151
|
+
width: 50%;
|
152
|
+
}
|
153
|
+
|
154
|
+
.section__img {
|
155
|
+
width: 940px;
|
156
|
+
object-fit: cover;
|
157
|
+
}
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
```
|
162
|
+
|
163
|
+
|
164
|
+
```JS
|
27
|
-
$(window).scroll(function() {
|
165
|
+
$(window).scroll(function() {
|
28
166
|
|
29
167
|
// selectors
|
30
168
|
var $window = $(window),
|
@@ -51,5 +189,8 @@
|
|
51
189
|
}).scroll();
|
52
190
|
|
53
191
|
|
192
|
+
```
|
54
193
|
|
55
194
|
|
195
|
+
|
196
|
+
|