A :
The opacity property can take a value from 0.0 - 1.0. The lower value, the more transparent:
Example:
img { opacity: 0.5; filter: alpha(opacity=50); /* For IE8 and earlier */ }
Note:
IE8 and earlier use filter:alpha(opacity=x) . The x can take a value from 0 - 100. A lower value makes the element more transparent.
A :
The CSS box-shadow
property applies shadow to elements.In its simplest use, you only specify the horizontal shadow and the vertical shadow:Example:div { box-shadow: 10px 10px grey; }