Revision 190c3feba3a42cbc4c32facd7994c190589d889e authored by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC, committed by Liam R. E. Quin on 26 March 2018, 01:04:45 UTC
1 parent 2b4cdad
Raw File
transform-origin-name-004.html
<!DOCTYPE html>
<html>
  <head>
    <title>CSS Test (Transforms): transform-origin: top center</title>
    <link rel="author" title="Keith Schwarz" href="mailto:keith@keithschwarz.com">
    <link rel="author" title="Aryeh Gregor" href="mailto:ayg@aryeh.name">
    <link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-origin-property">
    <meta name="assert" content='This tests that &apos;transform-origin:
    top center&apos; is the same as &apos;transform-origin: 50% 0%&apos;.'>
    <link rel="match" href="transform-origin-name-ref-2.html">
    <link rel="mismatch" href="transform-origin-name-notref.html">
    <style>
      div {
        margin: 300px 0 0 300px;
        width: 100px;
        height: 200px;
        background: #202040;
        transform: rotate(45deg);
        transform-origin: top center;
      }
    </style>
  </head>
  <body>
    <div></div>
  </body>
</html>
back to top