CSS: Top Shadow

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;
}
Twitter
Visit Us
Follow Me
Pinterest
RSS
Follow by Email

Leave a Reply