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