css make child element opacity code example Example: define element opacity css div { opacity: 0.5; }