Adjust the CSS rule to match based on the attribute rather than the class name.