How can I add a shadow to actual screen frame on html on top of other content? If it's not possible then the same question for body frame.
This doesn't work:
body {
-webkit-box-shadow: inset 0 0 10px #0d1f2b;
-moz-box-shadow: inset 0 0 10px #0d1f2b;
-o-box-shadow: inset 0 0 10px #0d1f2b;
box-shadow: inset 0 0 10px #0d1f2b;
}
This shows a shadow on screen bounds but I can scroll it up by scrolling the content of the page:
.screen {
position:absolute;
left: 0px;
top: 0px;
width: 100%;
height: 100%;
-webkit-box-shadow: inset 0 0 10px #0d1f2b;
-moz-box-shadow: inset 0 0 10px #0d1f2b;
-o-box-shadow: inset 0 0 10px #0d1f2b;
box-shadow: inset 0 0 10px #0d1f2b;
}
<div class="screen"></div>