Common Styles

Opacity
Sets the transparency of an element. 100% is not transparent at all, 50% is 50% see-through, and 0% is completely transparent.

CSS

yourSelector {
  opacity: 50%;
}

JavaScript

yourVariable.style.opacity = `50%`