img {
    mask-image: linear-gradient(
        #333 80%,
        transparent
    );
}