Is it possible to use a “wildcard” for elements having a class name starting with a specific string in CSS3?

Example:

<div class="myclass-one"></div>
<div class="myclass-two"></div>
<div class="myclass-three"></div>

and then magically set all the above divs to red in one go:

.myclass* { color: #f00; }

3 Answers
3

Tags:

Leave a Reply

Your email address will not be published. Required fields are marked *