CSS on value change

Hi, I wonder if it is possible to apply a css style when one of the dashboard’s value changes.
For example, when the temperatures of a room changes, I’d like to apply a short “shake” or a “Zoom-in out effect” to show that the value has updated.
Is there a css selector for that ?