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 

Want me to help develop your next project or application?

Contact Us

Specializing in Ruby-on-Rails, Javascript, Multi-Platform Electron Desktop Apps and Hybrid Cordova Mobile Apps.

Recommended Posts