I'm using LESS. I designed my <li>s, with every proceedings, taking a different id with a PHP loop. And in CSS I've written a code like:
  li.page-2{
    margin-left: 15px;
  }
  li.page-3{
    margin-left: 25px;
  }
  li.page-4{
    margin-left: 22px;
  }
  li.page-5{
    margin-left: 18px;
  }
  ...
I've two questions regarding this, so, first of all, I want to share my intention:

I want to design a dynamic circular menu like this.
Q#1: How can I minimize the CSS coding dynamically, as I'm actually first, increasing the value, and after some places, decreasing the value of margin-left.
Q#2: Is there any other way I can do such circular dynamic menu?
 
     
     
     
    