- This topic is empty.
- The forum ‘CSS’ is closed to new topics and replies.
I am trying to show the content by using :focus then hide it again using :blur. I’ve got it working with :hover, but I can’t get it to work with :focus and :blur.
See work file at jsfiddle…
I’m trying to use all css if possible. Maybe onfocus and onblur need to be added to html?
I was expecting to see some JS in there… Maybe I’m behind the times, but I’ve never seen :blur as a CSS property before.
So maybe an all CSS solution isn’t realistic. Could onFocus and onBlur be used instead?
Can something like this work?