background shorthand css opacity code example Example: change transparancy img css img { opacity: 0.5; }