hover - css for permanent change on mouseover -
CSS is stateless, so there is no way to change the state in a permanent manner. The only way I can think of approaching is to increase the size of the element (or the sub-element which is large) so that the mouse does not go, but it will blur the rest of the page and controls. Visibility: hidden and using
: Hover . However, I want the second state, with which the changed element will continue, even when the mouse element leaves. It would be easy to do with javascript, but is there a way to do it in pure CSS?
Comments
Post a Comment