Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

All-inclusive CSS selector for input elements

Looking for a way to apply a background-color to all input elements, including dropdown lists, textareas, and even checkboxes.

Is there an all-inclusive selector for this sort of thing, or would I need to list them all individually in the selector?

like image 906
asfsadf Avatar asked Sep 29 '10 06:09

asfsadf


1 Answers

Most of them are covered in input, so all you need to add is the two others:

input, textarea, select { }

But no, there's nothing more all-inclusive than that.

like image 198
David Hedlund Avatar answered Oct 12 '22 03:10

David Hedlund