tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

scroll-marker-003.html (1022B)


      1 <!doctype html>
      2 <meta charset="utf-8">
      3 <title>CSS Test: scroll container with ::scroll-marker-group before between other blocks</title>
      4 <link rel="match" href="scroll-marker-003-ref.html">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-5/#scroll-marker-pseudo">
      6 <style>
      7  #scroller {
      8    width: 600px;
      9    height: 300px;
     10    overflow: scroll;
     11    scroll-marker-group: before;
     12  }
     13 
     14  #scroller div {
     15    width: 600px;
     16    height: 300px;
     17    margin-bottom: 20px;
     18    background: green;
     19  }
     20 
     21  #scroller::scroll-marker-group {
     22    border: 3px solid black;
     23    padding: 5px;
     24    display: block;
     25    height: 40px;
     26  }
     27 
     28  #scroller div::scroll-marker {
     29    content: "";
     30    width: 10px;
     31    height: 10px;
     32    background-color: blue;
     33    border-radius: 100%;
     34    display: inline-block;
     35  }
     36 
     37  #scroller #first::scroll-marker {
     38    background-color: purple;
     39    margin-right: 4px;
     40  }
     41 </style>
     42 <div>TEST BLOCK BEFORE</div>
     43 <div id="scroller">
     44  <div id="first"></div>
     45  <div></div>
     46 </div>
     47 <div>TEST BLOCK AFTER</div>