Repository navigation
Commit fb98a25
committed
Hero entrance animation moves text without hiding it
The hero copy is the largest contentful paint: animating its opacity
from 0 delayed LCP by several seconds on slow devices.1 parent 0ff989a commit fb98a25
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
233 | 233 | | |
234 | 234 | | |
235 | 235 | | |
| 236 | + | |
| 237 | + | |
236 | 238 | | |
237 | 239 | | |
238 | | - | |
239 | | - | |
| 240 | + | |
240 | 241 | | |
241 | 242 | | |
242 | | - | |
243 | 243 | | |
244 | 244 | | |
245 | 245 | | |
| |||
0 commit comments