Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the transition: background red in syntax highlighting (Visual Studio)?

I am a teacher and had a student ask why the "background" is red in color. This is in Visual Studio Code using the Dark+ theme. I have tried looking in the settings for syntax highlighting to identify different colors, but haven't had any luck. Same with browsing the web for this theme's color usage.

enter image description here

like image 329
Matt Avatar asked Oct 21 '25 12:10

Matt


1 Answers

background is not an animatable property. More on this here.

You may use background-color instead.

like image 149
Will Avatar answered Oct 23 '25 01:10

Will



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!