No-Library (pure JS), HTML, CSS, JavaScript
Attempt to reverse z-index stacking order in CSS, using CSS counters and attrs. Neither works (yet) in calc operations, at least in Chrome.
example using CSS only
Mapbox gl js draw - custom buttons