Menu
Advanced Features

CSS Opacity

Transparency from 0.0 (invisible) to 1.0 (solid).

1See Through

Opacity affects the element and all its children.

Example Code
div {
  opacity: 0.5; /* 50% transparent */
}
/* For background only, use rgba/hsla */
div {
  background: rgba(255, 0, 0, 0.5); 
}

Finished reading?

Mark this topic as complete to track progress.