Why would you want to switch behaviors by CSS?

Consider following dialog window: It is defined in HTML and CSS and runs in Sciter. Note that it has two radio buttons “Pixels” and “Inches”. These buttons switch input mode of input elements from pixels (integer) to inches (float/decimal). Integer input is slightly different from float input. E.g. for integers you can provide spin buttons….