tor-browser

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

pseudo-element-transform-ref.html (437B)


      1 <!DOCTYPE html>
      2 <html>
      3 <title>Reference for transition on pseudo-element</title>
      4 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#before-after-content">
      5 <style>
      6 div {
      7  width: 100px;
      8  height: 100px;
      9  background: rgb(255, 191, 0);
     10 }
     11 div::before {
     12  content: "";
     13  background: rgb(184, 115, 51);
     14  width: 100px;
     15  height: 100px;
     16  transform: ScaleX(0.5);
     17  display: block;
     18  will-change: transform;
     19 }
     20 </style>
     21 <div></div>