how to center align a list in css code example
Example 1: center ul
dropdwon-menu {
left: 50%;
transform: translateX(-50%);
}
Example 2: how to align list to the centre in css
<ul class="text-center" style="list-style-position: inside">
<li>Born</li>
</ul>