start with selector css code example Example: css selector start with div[class^='myclass'], div[class*=' myclass']{ color: #F00; }