development:css:top_shadow

Top shadow

Shadow on top of the page (appears that the page is inset in browser)

CSS:

body:before {
content: "";
position: fixed;
top: -10px;
left: 0;
width: 100%;
height: 10px;
 
-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
-moz-box-shadow: 0px 0px 10px rgba(0,0,0,.8);
box-shadow: 0px 0px 10px rgba(0,0,0,.8);
 
z-index: 100;
}
Enter your comment:
R S K Y K
 
  • development/css/top_shadow.txt
  • Last modified: 2019-10-31 09:04
  • (external edit)