📜  在 html 代码示例中将每个内容居中

📅  最后修改于: 2022-03-11 14:53:13.399000             🧑  作者: Mango

代码示例1
section {
    width: 100%;
    height: 100vh;
    background-color: teal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}