<div class="mod mbxxl">
    <div class="inner">
        <div class="bd">
            <h3>Show ratings</h3>

            <p>Width (in percentages) is added with <code>.stars</code> to determine number of stars.</p>

            <div class="mbl">
              <h5 class="mbn">Small stars</h5>
              <pre class="mtn"><code>{{{example-1}}}</code></pre>
              <p>
                  <span class="rating-stars small-stars">
                      <span class="stars" style="width: 80%;"></span>
                  </span>
              </p>
              <p>
                  <span class="rating-stars small-stars">
                      <span class="stars" style="width: 20%;"></span>
                  </span>
              </p>
              <p>
                  <span class="rating-stars small-stars">
                      <span class="stars" style="width: 50%;"></span>
                  </span>
              </p>
            </div>

            <div class="mbl">
                <h5 class="mbn">Regular stars</h5>
                <pre class="mtn"><code>{{{example-2}}}</code></pre>
                <p>
                <span class="rating-stars">
                    <span class="stars" style="width: 80%;"></span>
                </span>
                </p>
                <p>
                <span class="rating-stars">
                    <span class="stars" style="width: 20%;"></span>
                </span>
                </p>
                <p>
                <span class="rating-stars">
                    <span class="stars" style="width: 50%;"></span>
                </span>
                </p>
            </div>

            <div class="mbl">
                <h5 class="mbn">Medium stars</h5>
                <pre class="mtn"><code>{{{example-3}}}</code></pre>
                <p>
                <span class="rating-stars medium-stars">
                    <span class="stars" style="width: 80%;"></span>
                </span>
                </p>
                <p>
                <span class="rating-stars medium-stars">
                    <span class="stars" style="width: 20%;"></span>
                </span>
                </p>
                <p>
                <span class="rating-stars medium-stars">
                    <span class="stars" style="width: 50%;"></span>
                </span>
                </p>
            </div>

            <div class="mbl">
                <h5 class="mbn">Large stars</h5>
                <pre class="mtn"><code>{{{example-4}}}</code></pre>
                <p>
                    <span class="rating-stars large-stars">
                        <span class="stars" style="width: 80%;"></span>
                    </span>
                </p>
                <p>
                    <span class="rating-stars large-stars">
                        <span class="stars" style="width: 20%;"></span>
                    </span>
                </p>
                <p>
                    <span class="rating-stars large-stars">
                        <span class="stars" style="width: 50%;"></span>
                    </span>
                </p>

            </div>
            <hr role="presentation">
            <h3>Rating input (Pure CSS verion)</h3>
            <p>Add <code>.responsive</code> class if you want it to scale down to medium size on desktop, without this class it will always be big (It is this big for better accessability on touch devices).</p>
            <p>Beware: Since this is based on a std. radiogroup, deselecting it is not an option. In certain situations we might be better of using something like a select instead (for filters that needs the ability to be tottally unselected).</p>
            <h5 class="mbn">Set rating</h5>
            <pre class="mtn"><code>{{{example-5}}}</code></pre>
            <div class="r-margin">
                {{{example-5-plain}}}
            </div>
        </div>
    </div>
</div>
