Home > Software engineering >  Making offset effect for div container
Making offset effect for div container

Time:08-02

Im trying to make something like this:

Div Container with offset effect

im trying to make a container that also has an offset effect like in the image, any ideas?

CodePudding user response:

box-shadow Docs

Use the property box-shadow. The third parameter is blur, you can set it to 0 or leave blank and the shadow will be solid.

So in your CSS you can do this: box-shadow: 10px 10px 0;

If this answer helped you, please mark as accepted.

  • Related