File tree 1 file changed +10
-10
lines changed
1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -177,23 +177,23 @@ description: "art director/designer"
177
177
transform: translateY(calc(15% * calc(var(--scroll-pct) - 0.3)));
178
178
}
179
179
180
- #pampers img:is(.left, .right) {
181
- position: absolute ;
182
- top: 0 ;
183
- width: 32% ;
180
+ #pampers aside {
181
+ display: flex ;
182
+ align-items: center ;
183
+ justify-content: center ;
184
184
}
185
185
186
- #pampers img.left {
187
- left: 12% ;
186
+ #pampers aside picture {
187
+ display: contents ;
188
188
}
189
- #pampers img.right {
190
- left: 62%;
189
+
190
+ #pampers img:is(.left, .right) {
191
+ width: 31%;
191
192
}
192
193
193
194
#pampers img.center {
194
- position: absolute;
195
195
width: 35%;
196
- left: 32.5 %;
196
+ margin: 0 -9 %;
197
197
z-index: 1;
198
198
transform: translateY(calc(20% * calc(var(--scroll-pct) - 0.5)));
199
199
}
You can’t perform that action at this time.
0 commit comments