Moxie Software interview question

How can you apply css rule if "data" attribute is known?