css li center elements code example
Example 1: css ul to center
ul {
justify-content: center;
display: flex;
}
Example 2: center li in ul css
.list-wrapper {
text-align: -webkit-center;
}
.list-wrapper ul {
display:block;
}
ul {
justify-content: center;
display: flex;
}
.list-wrapper {
text-align: -webkit-center;
}
.list-wrapper ul {
display:block;
}