Using Wildcard Selectors In CSS

Posted By Weston Ganger

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:

Article Topic:Software Development - HTML / CSS

Date:June 01, 2015