Why somethimes CSS animation on background performs too laggy ? I need help with my code! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Why somethimes CSS animation on background performs too laggy ? I need help with my code!

i am creating a check-box switch button on which on check the background color must change smoothly in 0.5s(500ms) but while doing it the animations works laggy any way to fix it css problem with #facechk https://code.sololearn.com/W5c75VQ1emx8/?ref=app

15th Aug 2020, 2:57 PM
PRIYANSHU AGRAWAL
PRIYANSHU AGRAWAL - avatar
3 Answers
+ 1
PRIYANSHU AGRAWAL There might be some technical problem. You might wana report this to support team of sololearn. But as I said, it is working fine for me.
16th Aug 2020, 4:53 AM
Sandeep Shrestha
Sandeep Shrestha - avatar
+ 1
Its working fine for me. as you mention it is changing smoothly. maybe because of your browser. Try cleaning cookies and try again.
15th Aug 2020, 5:39 PM
Sandeep Shrestha
Sandeep Shrestha - avatar
+ 1
Sandeep Shrestha i am facing lag in solo learn output tab too, but after removing box-shadow animation it works smoothly
15th Aug 2020, 5:47 PM
PRIYANSHU AGRAWAL
PRIYANSHU AGRAWAL - avatar