| <!doctype HTML> |
| |
| <script> |
| if (window.internals) |
| internals.settings.setPreferCompositingToLCDTextEnabled(true); |
| </script> |
| |
| <style> |
| body { |
| background-color: pink; |
| } |
| |
| #container { |
| height: 500px; |
| width: 250px; |
| overflow: scroll; |
| border-radius: 30px 30px 30px 30px; |
| background-color: blue; |
| border: 10px solid black; |
| } |
| #container::-webkit-scrollbar { |
| display: none; |
| } |
| </style> |
| |
| <div id="container"> |
| <div style="width:200px; height:800px; background-color:lightgreen"></div> |
| </div> |
| |
| <script> |
| document.getElementById("container").scrollTop = 200; |
| </script> |
| |