Common Styles

Opacity

CSS

yourSelector {
  opacity: 50%;
}

JavaScript

yourVariable.style.opacity = `50%`