CSS3 Opacity

Next ❯2D Transform

Used to specify the transparency of an element

  • turned_in_notFloat Related Properties
    • opacity
  • opacity property can have a value from 0.0 - 1.0

opacity: 0.1

img {
  opacity:0.1;
}
opacitysubject
opacityclose
<!DOCTYPE html>
<html>
<head>
<title>Full CSS Code</title>
<style>
img {
 opacity:0.1;
}
</style>
</head>
<body>
  <img src="image.png" alt="image">
</body>
</html>

  • 2D Transform
❮ Prev CSS3 Font
Next ❯2D Transform
TryOut Examples"Learn to Explore..!"

TryOut Editor

receipt