title: How to align content beside every arrow in CSS?
body: <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: relative;
    width: 120px;
    height: 0;
    border-bottom: 10px solid black;
  }
  
  .arrow::after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 30px solid black;
    position: absolute;
    right: -10px;
    top: -15px;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;span class=""&gt;hi&lt;/span&gt;&lt;div class="arrow"&gt;&lt;/div&gt;
  &lt;span class=""&gt;hellow&lt;/span&gt; &lt;div class="arrow"&gt;&lt;/div&gt;
  &lt;span class=""&gt;howru&lt;/span&gt; &lt;div class="arrow"&gt;&lt;/div&gt; </code></pre>
  </div>
  </div>
  </p>
  <p>I want to place the arrow and content in one line. like</p>
  <p>For that. Do I need to right the arrow div, every time or is there any way to write the div.</p>