Answers for "how to center li inside a div"

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

Code answers related to "how to center li inside a div"

Browse Popular Code Answers by Language