﻿<style >
body, html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中（如果你想要整个页面内容居中）*/
}

.content {
    text-align: center; /* 仅当需要文本内容居中时 */
    /* 这里不需要设置宽度和 margin，除非你有特定要求 */
}
</style >
