.welcome{ text-align: center; /* 文字上下居中 */ line-height: 20vh; /* font-size: 50px; */ color: #fff; background-color: rgb(7, 193, 96); /* 字体大小 */ font-size: 80px; height: 20vh; margin: 0 auto; } .form{ font-size: 40px; margin: 20px; } input{ font-size: 40px; /* 圆角 */ border-radius: 10px; height: 5vh; margin: 1vh; } *{ box-sizing: border-box; background-color: rgb(202, 249, 224); } .submit{ /* 位于页面底部,距离底部5vh,左右居中 */ position: fixed; bottom: 3vh; left: 50%; transform: translateX(-50%); /* 字体大小 */ font-size: 50px; /* 字体大小 */ font-size: 50px; /* 字体颜色 */ color: #7E7E7E; /* 背景颜色 */ background-color: rgb(202, 249, 224); /* 居中 */ text-align: center; /* 边框 */ /* 圆角 */ border-radius: 10px; /* 边框比内部文字大一点 */ padding: 10px 20px; }