css starts with selector code example
Example 1: css attribute selector
a[target="_blank"] {
background-color: yellow;
}
/*w3schools*/
Example 2: css selector starts with
The following should do the trick:
div[class^='myclass'], div[class*=' myclass']{
color: #F00;
}
Edit: Added wildcard (*) as suggested by David