card id to class in css