Check out example codes for "css opacity example". It will help you in understanding the concepts better.

Code Example 1

.opacity30 {
  opacity: 0.3;
  filter: alpha(opacity=30); /* For IE8 and earlier */
}

Learn ReactJs, React Native from akashmittal.com