I have a form where I used the css transition to become completely opaque using the state :hover (no JavaScript)
#containerDiv hover:
I would like the state to remain when the user places the cursor in any field of the form :focus , even if the mouse can no longer hover over the form. However, it is difficult for me to find the correct syntax for this to happen.
#containerDiv
I suspect this is only possible using JavaScript due to cascading order. However, I do not want to use JavaScript to do this so that everything is in order.
source share