title: How to rotate and postion an element on the top left or top right corner?
body: <p>I rotated a div with Text &amp; wanted to Place it on the left top.
  I managed to place it at the top, but I can't get it working to align with the left edge. How do I do this?</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-css lang-css prettyprint-override"><code>.credit {
    position: absolute;
    background-color: pink;
    transform: rotate(-90deg) translateX(-50%);
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="credit"&gt;
    Picture by Name
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>