css dim everything except a div code example Example: html dim entire screen box-shadow: 0 0 0 100vmax rgba(0,0,0,0.6);