html dim entire screen

CSS
box-shadow: 0 0 0 100vmax rgba(0,0,0,0.6);
Source

Also in CSS: