Browser & Web Performance · Senior · Question 73 of 75

The hero heading fades in with an animation from opacity: 0. How can this affect LCP?

Explanation

Entrance animations on the main content trade a nice effect for a later LCP. Keep the LCP element visible from the first paint.

Further reading

Problem with a question

Browser & Web Performance · Senior · question 73

Test yourself

Take the Browser & Web Performance · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz