Debian Codegraph @

closure-library/closure/goog/style/style_webkit_scrollbars_test_dom.html

raw
1 <!--
2 Copyright 2017 The Closure Library Authors. All Rights Reserved.
3
4 Use of this source code is governed by the Apache License, Version 2.0.
5 See the COPYING file for details.
6 -->
7 <style>
8 /*
9 * Note that we have to apply these styles when the page is loaded or the
10 * scrollbars might not pick them up.
11 */
12 ::-webkit-scrollbar {
13 width: 16px;
14 height: 16px;
15 }
16
17 .otherScrollBar::-webkit-scrollbar {
18 width: 10px;
19 height: 10px;
20 }
21 </style>
22 <div id="test-scrollbarwidth" style="background-color: orange; width: 100px; height: 100px; overflow: auto;">
23 <div style="width: 200px; height: 200px; background-color: red">
24 Test Scroll bar width with scroll
25 </div>
26 </div>