title: How to rotate text in pseudo-element?
body: <p>I'm trying to rotate the double angle bracket set as the content in an <code>:after</code> pseudo-element using the css <code>transform</code> value <code>rotate(90deg)</code> for a tab across the top of the screen. Here's the relevant code:</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>.header {
    -moz-transition: top .5s ease;
    -webkit-transition: top .5s ease;
    -o-transition: top .5s ease;
    transition: top .5s ease;
    position: absolute;
    left: 0;
    right: 0;
    top: -60px;
    height: 80px;
    background-color: #2d2;
  }
  
  .header.in-top {
    top: 0;
  }
  
  .header-tab {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 20px;
    text-align: center;
    color: #000;
    -moz-transition: color .5s ease;
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease;
  }
  
  .header-tab:hover {
    color: #e22;
  }
  
  .header-arrow:after {
    font-size: 20px;
    line-height: 1;
    -moz-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    transform: rotate(90deg);
  }
  
  .header .header-arrow:after {
    content: "\00bb";
  }
  
  .header.in-top .header-arrow:after {
    content: "\00ab";
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="header"&gt;
    &lt;div class="header-tab" data-toggle="in-top"&gt;
      &lt;span class="header-arrow"&gt;&lt;/span&gt;
    &lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The <code>data-toggle</code> attribute is used in JavaScript to toggle the <code>in-top</code> class in order to switch the direction of the double angle bracket as well as to expose the content of the header by bringing it down. The <code>transform</code> properties I have specified seem to do nothing though. Any solutions?</p>