code show as below:
<divclass="inner">
<divclass="innerbox">
<Pstyle = "height: 200px;"> This is what 111 </ p>
<Pstyle = "height: 400px;"> where the content 222 </ p>
<P> This is the content 333 </ p>
</div>
</div>
.inner{
width:265px;
height:400px;
position:absolute;
top:33px;
left:13px;/*cursor:pointer;*/
overflow:hidden;
}
.innerbox{
overflow-x:hidden;
overflow-y:auto;
color:#000;
font-size:.7rem;
font-family:"\5FAE\8F6F\96C5\9ED1",Helvetica,"黑体",Arial,Tahoma;
height:100%;
} / * Style scroll bar * /
.innerbox :: - webkit-scrollbar {/ * scrollbar overall style * /
width: 4px; / * Aspect corresponding vertical scroll bar size * /
height:4px;
}
.innerbox :: - webkit-scrollbar-thumb {/ * scroll bar inside a small box * /
border-radius:5px;
-webkit-box-shadow:inset005pxrgba(0,0,0,0.2);
background:rgba(0,0,0,0.2);
}
.innerbox :: - webkit-scrollbar-track {/ * * orbital scroll inside /
-webkit-box-shadow:inset005pxrgba(0,0,0,0.2);
border-radius:0;
background:rgba(0,0,0,0.1);
}