Forum Moderators: not2easy
Terry
HTML for content
CSS for presentation
Javascript (or similar) for behaviour
Deviating from this ought to be a 'considered' decision
I have a hunch that you could achieve the desired behaviour effects via CSS (e.g. pseudo classes [w3schools.com])... but, to me, that seems a bit of a tortuous route compared with the relative simplicity of javascript (or similar)
But then, what do I know?