Common Styles

Transform

CSS

yourSelector {
  transform: rotate(180deg);
}

JavaScript

yourVariable.style.transform = `rotate(180deg)`