I\'m trying to set a transition-delay
to the overflow
property of body
when a div
is clicked by adding a class to the
In case someone is looking at the answer, like I was, for a way to animate the cropping of an element which requires overflowing - here is the solution that worked for me: the clip-path css property which is animatable and very versatile.
Here is a cool tool to play around with it to get the proper start / end values: https://bennettfeely.com/clippy/.