twitter/bootstrap — Issue #1461: [2.0-wip] [class*="icon-"] too general
Author: dhendo
Created: 2012-01-31 09:48:31+00:00
State: open

As an extension of https://github.com/twitter/bootstrap/issues/1456 I think that using the icon- prefix in the above selector is too general.

In the project I'm working on (an by extension other people will have the same issue when they come to implement v2) has classes such as `big-icon-something` which get interfered with by the selector.

You could do something like `[class^="icon-"]` to look for it as a prefix, but it would rule out having classes like ``

I guess a better way would be to use a more specific class prefix such as `bsicon-` or similar.