Post by Mason Novak Share this:Use the following code to Select Element By Specific attribute value [class^="top"] { background: yellow; } or[class*="me"] { background: yellow; } It doesn’t have to be the whole value. Recommended For You Share this: