css how to center li text in li code example
Example 1: how to align text inside an li to its center
li {
display: flex;
flex-direction: row;
align-items: center;
}
Example 2: center li in ul css
.list-wrapper {
text-align: -webkit-center;
}
.list-wrapper ul {
display:block;
}