Html css

Using Wildcard Selectors In CSS

Posted by Weston Ganger on June 01, 2015

I wanted to apply a rule to all classes beginning with a certain string.

/* any element with class that starts with 'col-' ex. 'col-sm-12' */

/* any element with a class that contains 'col-' ex. 'abc-col-123' */

Related External Links:

Posted in HTML / CSS and Tagged with css wildcard selector 

Need help on your next project or application?

I specialize in Ruby-on-Rails, AngularJS, Javascript, Bootstrap, and Hybrid Mobile Apps with Cordova & Ionic.

Contact Me

Recommended Posts