I am using twitter bootstrap and I have glyphicon-menu-up
. When i click on the icon it collapse and expand the contents.
However when i click on the icon i want to rotate the icon by 180 degree using CSS. I know how to do it using Javascript. But i wanted to do it only using CSS.
Here is the partially working JSFiddle Demo