+ 1
How to freeze a transition once it has reached the end ?
I'm still kinda new to CSS so I don't know if it's possible but hopefully it is, I would like to know how to freeze a transition once it has reached the end. Here's a example. Try to make my first 2 boxes freeze at the end of the transition https://code.sololearn.com/W8pD22B3B5S8/?ref=app
5 Answers
+ 1
Instead, add mouseover listener on the targets to reset the width.
https://code.sololearn.com/Wt9r2U5KlU2J/?ref=app
+ 2
It shrinks because you are using pseudo class of hover.
Don't use hover.
0
forwards
0
I think you misunderstood my question so here's a example. Try to make my first 2 boxes freeze at the end of the transition
https://code.sololearn.com/W8pD22B3B5S8/?ref=app
0
Thank you Gordon.