Updated CSS matching rules and added data attribute.