Skip to content

Commit 1fbe66f

Browse files
authored
Use percentages instead of absolute units for view progress timeline … (#41171)
Use percentages instead of absolute units for view progress timeline example
1 parent 3748a98 commit 1fbe66f

File tree

1 file changed

+3
-3
lines changed
  • files/en-us/web/css/animation-timeline/view

1 file changed

+3
-3
lines changed

files/en-us/web/css/animation-timeline/view/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,13 +165,13 @@ To aid the understanding of the result, extra elements `subject-container`, `top
165165

166166
.top {
167167
top: 0;
168-
height: 244px;
168+
height: 50%;
169169
align-items: end;
170170
}
171171

172172
.bottom {
173-
top: 432px;
174-
height: 48px;
173+
bottom: 0;
174+
height: 10%;
175175
}
176176
```
177177

0 commit comments

Comments
 (0)