Is it possible to add vertical spacing between specific <li>
tags in a navigation list using CSS only, without relying on JavaScript or JQuery?
For example: http://jsfiddle.net/ssqnY/
The spacing should adjust responsively based on the height of the containing div or window.
Here is the structure of the navigation list:
<ul>
<li><a href="#">Link</a></li>
<li class="spacer"></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
<li class="spacer"></li>
<li><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>