再包裹一层父级div,把border-radius属性给到父级,再给一个padding即可
<div style="border-radius: 6px; padding: 4px">
<div style="width:200px;height:200px;overflow-y: scroll">
<!-- to do -->
</div>
</div>
再包裹一层父级div,把border-radius属性给到父级,再给一个padding即可
<div style="border-radius: 6px; padding: 4px">
<div style="width:200px;height:200px;overflow-y: scroll">
<!-- to do -->
</div>
</div>