If you want to add a top shadow to the head of your site. You can add it by using a simple css code. Just copy and paste the code below to you css code and you are done.

css

 
body::before {   
content: "";
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;
box-shadow: 0px 0 10px rgba(0, 0, 0, 0.8);
z-index: 100;
}
Categories: CSSResources

0 Comments

Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *