Here is an example of a form:
<form class="mystyle" ...>
<input name="test1" type="text">
<input name="test2" type="text">
...
</form>
I want to apply CSS styling to all the input elements in this form:
.mystyle input[type="text"] {
width: 200px;
}
While adding a class to every input can be done, it's not ideal for forms with many inputs.
Is there a way to make the inputs inherit the styling of the parent form?