这个网站的样式表文件包含以下内容:
#txt {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 10;
}
.box {
text-align: center;
position: absolute;
top: 40%;
left: 50%;
transform: translate(-50%, -50%);
}
.boxs {
white-space: nowrap;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
.box .box1 {
color: white;
font-size: 0.72rem;
margin-bottom: 0.2rem;
}
.box .box2 {
color: white;
font-size: 0.2rem;
}
这个网站使用了CSS样式表文件来设置网页的布局和样式。它包括一个名为#txt
的绝对定位元素,用于覆盖整个页面;一个名为.box
的绝对定位盒状元素,设置了其文本居中对齐、顶部和左侧为50%位置以及底部和左侧也为50%位置等样式;另一个名为.boxs
的盒状元素,设置了其文本换行、顶部和左侧为50%位置以及底部和左侧也为50%位置等样式。此外,还有两个类名为.box
的元素,分别设置了字体大小、颜色和外边距属性。