Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css id with mask wildcard

*[id^='term-']{
    [css here]
}

div[class^="tocolor-"], div[class*=" tocolor-"] {
    [css here]
}

In the place of div you can add any element or remove it altogether, and in the place of class you can add any attribute of the specified element.

[class^="tocolor-"] — starts with "tocolor-".
[class*=" tocolor-"] — contains the substring "tocolor-" occurring directly after a space character.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #id #mask #wildcard
ADD COMMENT
Topic
Name
2+1 =