title: How to create a "dot-dash" border with css or javascript?
body: <p>In css3, they plan to add a border-style called "dot-dash" that will look like this:</p>
  
  <p><a href="https://i.stack.imgur.com/SlpZv.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/SlpZv.png" alt="enter image description here"></a></p>
  
  <p>Unfortunately, that is not yet implemented in any browser, and I need that kind of border now for a web-app.
  The Application works with the Javascript-Framework ExtJS, so the solution of my problem can be a javascript one, too.</p>
  
  <p>I already tried with a background-image (very bad solution, I know) - but that didn't work because there will be many divs with this border, which will all have different sizes (which I don't know before).</p>
  
  <p>Thank you!</p>