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