[whatwg] CSS for specific input types

Erik Arvidsson erik at eae.net
Mon Jul 12 13:23:21 PDT 2004


Scott Andrews wrote:

> I'm not sure if this has already been suggested, or if there is better
> way to perform this task.  With CSS it would be convenient for there
> to be a way to override the default styles for a particular input
> type, instead of applying a generic class to all the inputs of that
> type.
> 
> For example, if you wanted to make all the checkboxes on a page twice
> their normal size use a class like:

How about

input[type='checkbox'] {

}

as defined in CSS2?

Maybe I am missing something here?

erik



More information about the whatwg mailing list