css select ids starts with code example Example 1: css all ids starting with [id^="product"] { ... } Example 2: targe id that starts with [id^=product]