Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<meta charset="utf-8">
<title>CSS Reference File: ::scroll-marker with ::scroll-marker-group after</title>
<style>
#scroller {
width: 600px;
height: 300px;
overflow: scroll;
}
#scroller div {
width: 600px;
height: 300px;
margin-bottom: 20px;
background: green;
}
#scroll-marker-group {
border: 3px solid black;
padding: 5px;
height: 20px;
}
#scroll-marker-group>div {
display: inline-block;
width: 10px;
height: 10px;
background-color: blue;
border-radius: 100%;
}
#scroll-marker-group>#first {
background-color: purple;
}
</style>
<div id="scroller">
<div></div>
<div></div>
</div>
<div id="scroll-marker-group">
<div id="first"></div>
<div></div>
</div>