开发者

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 t开发者_StackOverflowhe selector?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜