Home  >  Article  >  Web Front-end  >  Why Does My CSS Transition Cause Flickering At Page Load in Chrome?

Why Does My CSS Transition Cause Flickering At Page Load in Chrome?

Susan Sarandon
Susan SarandonOriginal
2024-10-31 05:46:02767browse

Why Does My CSS Transition Cause Flickering At Page Load in Chrome?

Eliminate CSS Transition Flickering at Page Load

Problem:

CSS transitions provoke an unwanted blinking effect during page load, transitioning elements from black to their assigned color.

Cause:

A bug in Chrome initiates CSS transitions when the web page includes a

element.

Solution:

To resolve the flickering issue:

  1. Add an Empty