Closed Willco2 closed 5 months ago
box-shadow isn't affected by a transitions
box-shadow
Put box-shadow on an element with transition: all ... or transition: box-shadow ... and cause the box-shadow to change. It modifies instantly instead of going with the transition.
transition: all ...
transition: box-shadow ...
box-shadow should follow transitions.
Browser: https://github.com/Facepunch/sbox-issues/assets/33941498/4fe76b40-a380-4fdc-b4a8-a8e669299cbc
s&box: https://github.com/Facepunch/sbox-issues/assets/33941498/c567e5cb-675a-47e9-bac7-b92198fb48e1
No response
Should be fixed on next update
Describe the bug
box-shadow
isn't affected by a transitionsTo Reproduce
Put
box-shadow
on an element withtransition: all ...
ortransition: box-shadow ...
and cause thebox-shadow
to change. It modifies instantly instead of going with the transition.Expected behavior
box-shadow
should follow transitions.Media/Files
Browser: https://github.com/Facepunch/sbox-issues/assets/33941498/4fe76b40-a380-4fdc-b4a8-a8e669299cbc
s&box: https://github.com/Facepunch/sbox-issues/assets/33941498/c567e5cb-675a-47e9-bac7-b92198fb48e1
Additional context
No response