MDN self-hosted library · e01.org

`-webkit-transform-3d` CSS media feature

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

css
@media (-webkit-transform-3d) {
  .foo {
    transform-style: preserve-3d;
  }
}
css
@supports (transform-style) {
  .foo {
    transform-style: preserve-3d;
  }
}