regarding the problem of css style, the parent div sets the property of overflow-y:auto, in which the box-shadow attribute of div cannot be displayed on the left and right sides.
code is as follows:
<div id="box">
<div class="test">
1975
</div>
</div>
-sharpbox{
margin: 50px;
overflow-y: auto;
}
.test{
margin-top: 1px;
box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.12),
0px 1px 1px 0px rgba(0, 0, 0, 0.1);
padding: 10px;
}