📅  最后修改于: 2022-03-11 14:47:49.884000             🧑  作者: Mango
/* Either center the list directly or center the parent element */
ul {
text-align: center;
}
/* OR */
div .list {
text-align: center;
}