title: Limit characters displayed in span
body: <p>Is there some sort of way within HTML or CSS to limit the characters displayed with a span? I use a repeater that displays these info boxes and I want to limit the characters to the first 20 characters and if the input has more, then just concatenate? The box is like image shown:</p>
  
  <p><a href="https://i.stack.imgur.com/9rSDI.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9rSDI.png" alt="enter image description here"></a></p>
  
  <p>My code for this is:</p>
  
  <pre><code>&lt;span class="claimedRight" maxlength="20"&gt;{{ item.provider }}&lt;/span&gt;
  </code></pre>