I'm exploring a concept where I want to create a curved border around the list items, both on the outside and inside. Here are some examples:
Right
Check out the correct curved border here
Wrong:
See the incorrect curved border here
Please note, it's not about the visual differences. What I'm aiming for is to curve the inner border using this HTML:
<ul>
<li>Dashboard</li>
<li>Voertuigen</li>
<li>Klanten</li>
<li>Factures</li>
<li>Boetes</li>
<li>Onderhoud</li>
</ul>
CSS:
ul {
list-style: none;
-moz-border-radius: 12px;
-webkit-border-radius: 12px;
width: 140px;
border: 10px solid #BEBEBE;
}
ul li {
height: 40px;
width: 140px;
background: #E5E5E5;
}