Say I have this main heading fade in just as a user visits my page
h1 {
animation: fadeInLeft 500ms ease backwards;
}
@keyframes fadeInLeft {
from {
opacity:0;
transform:translateX(-10%);
}
to {
opacity:1;
transform:translateX(0);
}
}
<h1>Heading</h1>
Now I am curious what would happen if we imagined that the user was on a bad internet connection. Could it happen that the user would see the heading immediately if the browser was slow to download the stylesheet and apply the first keyframe? If so, is there any way to counteract this?