We know we can set the background colour on an Text and Plain Text fields via the following CSS style code:
.xforms-input input:focus {color: black !important; background-color: blue !important; }
.xforms-textarea textarea:focus {color: black !important; background-color: pink !important; }
But how do we do the same for:
- Number fields
- Formatted text area
- Currency fields
Many thanks in advance
PeteA
The following adds the cases of the currency, number, and formatted text area controls to your CSS.
PS: I highly recommend using your browser's Dev Tools to find about those classes, and experiment "live" with CSS.