I am trying to rotate div elements (class card) when clicking on it. The div elements are dynamically positioned by setting translateX using jQuery. I would like to rotate t