necolas / normalize.css

A modern alternative to CSS resets
http://necolas.github.io/normalize.css/
MIT License
52.6k stars 10.65k forks source link

input[type="search"] has a pretty high specificity value #213

Closed JamyGolden closed 11 years ago

JamyGolden commented 11 years ago

Sepcificty value: input[type="search"] = 11 .input-search = 10

It creates a bit of a annoyance when using the BEM CSS methodology. Would [type="search"] { not be a better idea to minimize the specificity value?

karimmaassen commented 11 years ago

Then, you'd have to set the input element's class to .input-search, wouldn't you?

bartveneman commented 11 years ago

Please see #187

karimmaassen commented 11 years ago

I agree that if specificity can be lowered we should do that. Issue #187 addresses that, but was closed. (unfortunately)

JamyGolden commented 11 years ago

Thanks, I'll comment on that issue.