You have to also specify min-width: 100% and max-width: 100%. In Tailwind CSS that's min-w-full and max-w-full along with the transform-gpu class.
Now I get "0" as Cumulative Layout Shift. Woot!
You have to also specify min-width: 100% and max-width: 100%. In Tailwind CSS that's min-w-full and max-w-full along with the transform-gpu class.
Now I get "0" as Cumulative Layout Shift. Woot!
π€ The physical therapist who writes JavaScript πͺ Web Developer π Mentor π§ DPT π SEO Expert π React π Jamstack π¬ Ask me anything π DoctorDerek.com π