No-Library (pure JS), HTML, CSS, JavaScript
When changing the value of a transform-origin's z component Safari seems to automatically translate the element to the specificed position if a transform has been defined.
Testing CSS patterns for a button set