Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><strong>EDIT:</strong> Given the requirement of no images/data uri.</p> <p>You can also cram a bunch of border-radius elements together, alternating with top/bottom or left/right edges disabled. I've generalized this into a function that appends them to an element.</p> <p>Javascript, where squigglecount is the number of "squiggles". You could generalize that to an actual width if you so desired.</p> <p><a href="http://jsfiddle.net/V7QEJ/1/">http://jsfiddle.net/V7QEJ/1/</a></p> <pre><code>function makeLine(id, squiggleCount) { var curve; var lineEl = $(id); for (var i = 0; i &lt; squiggleCount ; i++) { curve = document.createElement('div'); curve.className = 'curve-1'; lineEl.append(curve); curve = document.createElement('div'); curve.className = 'curve-2'; lineEl.append(curve); } } </code></pre> <p><strong>CSS:</strong></p> <pre><code>.curve-1, .curve-2{ display: inline-block; border: solid 1px #f00; border-radius: 50px; height: 20px; width: 20px; } .curve-1{ border-bottom: none; border-left: none; border-right: none; } .curve-2{ border-top: none; border-left: none; border-right: none; } </code></pre> <p><strong>Old (with images):</strong></p> <p>There's already a bunch of answers, but here's an easy way to do a vertical squiggly line, similar to Lawson's answer.</p> <p>Basically, you use background-image and a data-uri of a squiggly line to do it. I probably wouldn't use this for anything but it's an interesting thought exercise. There are a bunch of data uri generators that you can use online to change your own images.</p> <p><a href="http://jsfiddle.net/zadP7/">http://jsfiddle.net/zadP7/</a></p> <pre><code>&lt;div class="aux"&gt;Stuff&lt;/div&gt; &lt;div class="line"&gt;&lt;/div&gt; &lt;div class="aux"&gt;More Stuff&lt;/div&gt; .aux{ display: inline-block; vertical-align: top; } .line{ display: inline-block; height: 400px; width: 10px; background-image: url(...etc...) } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload