diff --git a/files/en-us/web/css/position/index.md b/files/en-us/web/css/position/index.md index afe93133166fe7a..ee990336adb4fff 100644 --- a/files/en-us/web/css/position/index.md +++ b/files/en-us/web/css/position/index.md @@ -322,6 +322,7 @@ div { width: 400px; height: 200px; overflow: scroll; + scrollbar-width: thin; font-size: 16px; font-family: verdana; border: 1px solid; @@ -329,9 +330,9 @@ div { p { width: 600px; - height: 300px; user-select: none; - margin: 100px 150px 50px 100px; + margin: 0; + border: 110px solid transparent; } ``` @@ -343,7 +344,7 @@ p { div { /* mark area defined by the inset boundaries using gray color */ - background: linear-gradient(#9999, #9999) 100px 50px / 200px 100px no-repeat; + background: linear-gradient(#9999, #9999) 100px 50px / 192px 100px no-repeat; } ```