This repository was archived by the owner on Nov 21, 2019. It is now read-only.
Commit cf05e40
authored
Replicate the YouTube's thumbnail animation. (#53)
Using percentWidth. The idea is I wanted to change the height
of the image first, so until a certain frame position
(90 in this case) kept the change of the width as 0 using
percentWidth.1 parent d3fccdc commit cf05e40
1 file changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
161 | 174 | | |
162 | 175 | | |
163 | 176 | | |
| |||
0 commit comments