Skip to content

Instantly share code, notes, and snippets.

@ryanmorr
Created January 16, 2024 08:02
Show Gist options
  • Save ryanmorr/493eede0fbb40b7156014d77af39b687 to your computer and use it in GitHub Desktop.
Save ryanmorr/493eede0fbb40b7156014d77af39b687 to your computer and use it in GitHub Desktop.
Add a shadow to the body
body:before {
content: "";
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;
box-shadow: 0px 0px 10px rgba(0,0,0,.5);
z-index:100;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment