0
transition-delay
I am still learning so I do not have an example besides the one showing in the lesson: #element { transition: width 2s, background-color 1s; transition-delay: 2s; } If I want the delay to happen only after I release the mouse button, and NOT as I press it, how can I specify that? Yes it will happen as I press the mouse button, but that will be without delay.
3 ответов
+ 2
maybe something like this?
https://sololearn.com/compiler-playground/WaVlHectuiYc/?ref=app
+ 1
Perhaps that requires a bit more logic and interactivity, which is in the domain of JavaScript.
+ 1
Bob_Li
That's very cool!