Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not perfect but using a few pseudo-elements it can be done.</p> <p><a href="http://codepen.io/Paulie-D/pen/GxJpy" rel="nofollow"><strong>Codepen Demo</strong></a></p> <p><strong>HTML</strong></p> <pre><code>&lt;nav role='navigation'&gt; &lt;ul&gt; &lt;li&gt;&lt;a class="one" href="#"&gt;Wake Up&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="two" href="#"&gt;Step 2&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="three" href="#"&gt;Step 3&lt;/a&gt;&lt;/li&gt; &lt;li&gt;&lt;a class="four" href="#"&gt;Step 4&lt;/a&gt;&lt;/li&gt; &lt;/ul&gt; &lt;/nav&gt; </code></pre> <p><strong>CSS</strong></p> <pre><code>* { margin:0; padding:0; box-sizing:border-box; } ul { list-style:none; width:250px; margin:25px auto; } li { text-align:center; margin-bottom:25px; position:relative; padding-left:50px; } a { text-decoration:none; color:darkblue; font-weight:bold; display:block; background:white; height:50px; border:1px solid darkblue; position:relative; border-radius: 0 8px 8px 0; line-height:50px; } a:before { color:white; background:darkblue; width:50px; height:50px; margin-left:-50px; line-height:80px; position:absolute; top:-1px; left:0; font-size:0.75em; text-align:center; } li:before, li:after { position:absolute; content:""; left:0; border:25px solid transparent; height:0; width:0; z-index: 25; } li:before { top:0; border-top-color:white; } li:after { top:100%; border-top-color:darkblue;; } .one:before { content:"Step 1"; } .two:before { content:"Step 2"; } .three:before { content:"Step 3"; } .four:before { content:"Step 4"; } </code></pre>
    singulars
    1. This table or related slice is empty.
    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. 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