The Natural Philosopher wrote:
> Cant see how to do that in css. willing to find out
One way is to turn all elements you want to control into checkboxes (or
radio buttons, maybe even sub-items in a droplist) so the browser
maintains their GUI state, then style them so they don't look like
checkboxes, then use css to modify the styles depending on whether their
states are checked or not.
Modifying the style might be used to hide/show elements, change their
colour, make them enabled/disabled, reposition them, etc.
<https://webdesign.tutsplus.com/tutorials/accordion-component-with-css-checkbox
-hack--cms-34105>
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|