<\/p>\r\n <\/body>\r\n <\/html><\/pre>
Because the p element can only be added to the p element when the :hover pseudo-class is triggered. <\/p>
When the mouse leaves the p element, the :hover pseudo-class will no longer take effect, and the animation effect written in hover will be lost instantly. <\/p>
At this time, we should write an identical transition effect on the original element to continue the interrupted animation effect. <\/p>
\r\n\r\n\r\n \r\n \r\n \r\n簡單解決<\/title>\r\n