@BLINK-ALLOW:setSize*
@BLINK-ALLOW:posInSet*
@BLINK-ALLOW:focusable*
-->
<!doctype html>
<style>
.carousel {
overflow: auto;
columns: 1;
height: 200px;
scroll-marker-group: after links;
&::scroll-marker-group {
height: 1rem;
width: 100%;
text-align: center;
}
& > div {
height: 100%;
&::scroll-marker {
display: inline-block;
content: ' ';
width: 1rem;
height: 1rem;
border: 1px solid black;
}
&::scroll-marker:target-current {
background: blue;
}
}
}
</style>
<div class=carousel>
<div>One</div>
<div>Two</div>
<div>Three</div>
</div>