This question already has an answer here:
Is it possible to select a element that has a class that starts with a string?
There is
.element[class^="icon-"]{
...
}
but it fails when the class is preceded by another class or whatever :(
This question already has an answer here:
Is it possible to select a element that has a class that starts with a string?
There is
.element[class^="icon-"]{
...
}
but it fails when the class is preceded by another class or whatever :(
Yes, you can!
See it in action: http://jsfiddle.net/caio/mxUxR/.