Answers for "center text in li css"

CSS
0

how to align text inside an li to its center

li {
    display: flex;
    flex-direction: row;
    align-items: center;
}
Posted by: Guest on April-08-2021
0

center li in ul css

.list-wrapper {
   text-align: -webkit-center;
}
.list-wrapper ul {
    display:block;
}
Posted by: Guest on December-18-2020

Browse Popular Code Answers by Language