how to code by adding in front of image then opacity code example Example: change transparancy img css img { opacity: 0.5; }