Can it be changed to black transparency after being moved?

opacity can lighten the original object color (white)

but now I want to lighten the original object, but is there a way to achieve the "black"
?
I went to opacity and found that he couldn"t eat rgba... So it"s impossible to change the color at all!
so how do I achieve this? . . . .

Mar.23,2021

:-D first of all, the transparency of your move-in change element is changed by hover, so your color should also be changed by hover, while opacity is just an attribute.


opacity changes the transparency of the element, not the color.


you can use css animation to change colors.

Menu