Opacity

noun

say it: “oh-PAS-ih-tee” /oʊˈpæsɪti/

How see-through something is. In CSS, opacity goes from 0 (invisible) to 1 (solid) and fades the whole element, everything inside it included.

What does opacity do?

opacity makes an element and everything inside it see-through, from 0 (invisible) to 1 (solid).

.sold-out { opacity: 0.4; }

In a sentence

  • “I set the sold-out items to an opacity of 0.5 so they look faded next to the ones in stock.”

Level: Apprentice · More CSS terms at this level

Updated