CodePudding user response:
Write a div wide high transparency full-screen black background 0.3 control of the z axisCodePudding user response:
Write two div, a full screen, set the background color to between 0.5 ~ 0.2, control of the two div, z - index, full screen in sets for z - index: 1; Small div set to z - index: 2; It is okCodePudding user response:
Fixed position high wide hundred between 0 and 1 background to transparent