自定义全局样式

This commit is contained in:
wangxiaowei
2025-08-15 17:11:21 +08:00
parent 3b0268bbb5
commit 85f65bef1e

View File

@ -36,5 +36,8 @@
vertical-align: middle; vertical-align: middle;
} }
/* 自定义全局样式 */
.absolute-center {position: absolute !important;left: 50%;top: 50%;transform: translate(-50%, -50%);} .absolute-center {position: absolute !important;left: 50%;top: 50%;transform: translate(-50%, -50%);}
.line-1 {white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
.line-2 {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-overflow: ellipsis;}
</style> </style>