I'm building an list in HTML with items that stands next to each other (inline). All items have to be separated with a bullet (&bull) with some padding left and right. My question: how do I target te &bull to add some padding?
<ul>
<li><a href="#">Disclaimer</a>•</li>
<li><a href="#">Sitemap</a>•</li>
<li><a href="#">Other</a></li>
</ul>
The CSS code I tried is:
ul li a:after{
padding: 0 10px 0 10px;
}
atag?:afterpseudo-element, put the symbol in the pseudo-element instead of in the markup.