DEV Community

Cover image for Box Model - Drop Shadow vs. Border
Paul Barron
Paul Barron

Posted on

Box Model - Drop Shadow vs. Border

Don't know who needs to hear this but...

drop-shadow is not part of the box model. Notice how it doesn't appear centered and also "drops" off at the bottom.

Alt Text

border however is. Notice that it appears centered and doesn't drop out of view.

Alt Text

Top comments (0)