79220979

Date: 2024-11-24 20:07:15
Score: 1
Natty:
Report link

To use z-index to put the box-shadow over the box, set the z-index of the box to 0, and the z-index of the box-shadow to 1, or any value greater than zero, like this:

.box {
 z-index:0;
}

.box-shadow {
 z-index:1;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: TheOneAndOnlySammy