Can you help me figure out how to achieve this effect using CSS?
It seems like a simple task:
border-top: 1px solid #E2E2E2;
border-left: 1px solid #E2E2E2;
border-bottom: 1px solid #848484;
border-right: 1px solid #848484;
Just add:
box-shadow: 0.7px 0.7px 0 0.7px hsl(0, 0%, 0%);
However, the result is not quite what I expected:
The shadow adds an extra pixel on the bottom and right sides, creating a 2px border instead of a 1px border. Adding an outline won't work either since it surrounds the entire element. Is there a way to crop the box-shadow by 1px on the right and bottom sides?