HTML native interactive controls using CSS and flexbox
I find myself drawn to clever solutions for common problems.
One recent design I built called for side-by-side buttons. The user could click a button, which would maximize while other the choices would minimize. One solution would be declare CSS styles –
btn -- default and
Even though the controls were buttons visually, functionally they behaved like radio buttons, something devs already have in their HTML toolbox.
Styling forms can be tricky, but it is possible to apply a little CSS... More