1/*
2In order to use CSS Brightness you need to use the Filter property
3You can use a percent or a decimal or an integer
4*/
5filter: brightness(100%);
6/* OR above 100% */
7filter: brightness(200%);
1.mydiv { filter: grayscale(50%) }
2
3/* Graut alle Bilder um 50% aus und macht sie um 10px unscharf */
4img {
5 filter: grayscale(0.5) blur(10px);
6}
1brightness(0%) /* Completely black */
2brightness(0.4) /* 40% brightness */
3brightness(1) /* No effect */
4brightness(200%) /* Double brightness */