how to give classes based on text in css code example Example: css calss .ThisIsAClassName{ font-family: sans-serif; }