*[class|="top"]
CSS Selector Tutorial
....
Note: For [attribute|=value] to work in IE8 and earlier, a DOCTYPE must be declared.