align ul to center css code example
Example 1: css ul to center
ul {
justify-content: center;
display: flex;
}
Example 2: center ul
dropdwon-menu {
left: 50%;
transform: translateX(-50%);
}
Example 3: center li in ul css
.list-wrapper {
text-align: -webkit-center;
}
.list-wrapper ul {
display:block;
}