hover - css for permanent change on mouseover -


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?

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.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -