tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

preserve3d-pseudo-element.html (555B)


      1 <!doctype html>
      2 <title>CSS Test: preserve-3d on pseudo elements</title>
      3 <link rel="author" title="Matt Woodrow" href="mailto:mattwoodrow@apple.com">
      4 <link rel="help" href="https://drafts.csswg.org/css-transforms-2/">
      5 <link rel="match" href="preserve3d-pseudo-element-ref.html">
      6 <style>
      7 div {
      8  width: 200px;
      9  height: 200px;
     10  transform: rotateX(90deg);
     11  transform-style: preserve-3d;
     12 }
     13 
     14 div::before {
     15  display: inline-block;
     16  width: 200px;
     17  height: 200px;
     18  transform: rotateX(90deg);
     19  content: '';
     20  background-color: green;
     21 }
     22 </style>
     23 <div></div>