<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Rounded Block with Custom Scrollbar</title>
</head>
<body>
<div class="scroll-card">
<h2>Rounded Scroll Block</h2>
<p>This box features rounded corners (<code>border-radius: 20px</code>) and an internal scrollbar triggered by <code>overflow-y: auto</code> once the content exceeds its fixed height.</p>
<p>The scrollbar is styled using modern standard CSS properties (<code>scrollbar-width</code> and <code>scrollbar-color</code>) along with <code>::-webkit-scrollbar</code> pseudoelements for complete cross-browser styling.</p>
<p>Adding vertical margins (<code>margin: 12px 0</code>) to the scrollbar track prevents the thumb from clipping against the curved outer edges of the card, preserving a clean aesthetic.</p>
<p>Feel free to scroll back up and inspect the smooth rounding!</p>
</div>
</body>
</html>