body { width: 100%; height: 100%; background: rgb(178 204 246); } .tl { text-align: left; } .tc { text-align: center; } .tr { text-align: right; } .h100 { height: 100%; } .clear { clear: both; } .hide { display: none !important; } .content { width: 100%; float: left; height: auto; } .box { width: 1050px; margin: 0 auto; } /* 美化滚动条 */ /* 美化整个滚动条 */ ::-webkit-scrollbar { width: 4px; /* 滚动条宽度 */ } /* 美化滚动条轨道 */ ::-webkit-scrollbar-track { background: #f1f1f1; /* 轨道颜色 */ border-radius: 5px; } /* 美化滚动条滑块 */ ::-webkit-scrollbar-thumb { background: #888; /* 滑块颜色 */ border-radius: 5px; } /* 当滑块悬停或活动时的样式 */ ::-webkit-scrollbar-thumb:hover { background: #555; /* 滑块悬停颜色 */ border-radius: 5px; } /* 单行省略 ZMH 2024-01-28 */ .singe-line { text-overflow: ellipsis; overflow: hidden; word-break: break-all; white-space: nowrap; display: inline-block; }