title: <br> and ::after or ::before
body: <p>I am writing a HTML-editor using content-editable and I wanted to indicate line breaks (<code>&lt;br&gt;</code>) with a special character ("↩") at the end of each line that ends with a <code>&lt;br&gt;</code>. Therefore I wanted to add a pseudo-element <code>::after</code> with that character as <code>content</code>.</p>
  
  <pre><code>br::after { content: ' ↩'; }
  </code></pre>
  
  <p>Unfortunately this doesn't work. <code>::before</code> doesn't work either.</p>
  
  <p>Is there another possibility to achieve the desired result?</p>