title: CSS - Arrow not lining up
body: <p>I am trying tro create a pure CSS arrow with a line like 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>.arrow {
   position:absolute;
   left:50%;
  }
  
  .arrow_line {
   width:2px;
   background:darkblue;
    height:60px;
   margin:auto;
  }
  
  .arrow_point {
   box-sizing: border-box;
   height: 25px;
   width: 25px;
   border-style: solid;
   border-color: darkblue;
   border-width: 0px 2px 2px 0px;
   transform: rotate(45deg);
   transition: border-width 150ms ease-in-out;
   margin-top: -24px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="arrow"&gt;
    &lt;div class="arrow_line"&gt;&lt;/div&gt;
    &lt;div class="arrow_point"&gt;&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The vertical line never quite seems to line up vertically with the arrow, I have left it slightly adrift in the example to better demonstrate that it is not centered in relation to the arrow.</p>
  
  <p>Is there a better way to create a CSS arrow?</p>