Skip to content
Advertisement

Tag: linear-gradients

CSS Shimmer effect with blocking JavaScript

I have a shimmer React component with the following CSS and the animation keyframe I apply to it is as follows: My home page is quite heavy on mount. So the animation freezes for about a second or so. I read that animating transition is done off-thread https://www.phpied.com/css-animations-off-the-ui-thread/ Can anyone help me do my shimmer effect in a similar off-thread

Advertisement