setting different CSS class for each event detail and example of usage