title: CSS label :before and :after
body: <p>I am learning CSS and I am having a bit of trouble recognizing properties and understanding some of the syntax. in the CSS below. </p>
  
  <pre><code>.tabs nav li.tab-current:before,
  .tabs nav li.tab-current:after {
  
  }
  </code></pre>
  
  <p>I understand that tabs is a class and the <code>nav li</code> with the class <code>tab-current</code> within the <code>tabs</code> class in html will be applied with the same CSS. </p>
  
  <p>Example:</p>
  
  <pre><code>        &lt;div class="tabs"&gt;
              &lt;nav&gt;
                  &lt;ul&gt;
                      &lt;li class="tab-current"&gt;Hey&lt;/li&gt;
                      &lt;li&gt;hello&lt;/li&gt;
                  &lt;/ul&gt;
              &lt;/nav&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>However I'm not quite sure what <code>:before</code> and <code>:after</code> represent. Could someone provide me with an example? Thank you</p>