diff --git a/src/App.vue b/src/App.vue index 421cc34..7215a68 100644 --- a/src/App.vue +++ b/src/App.vue @@ -36,5 +36,8 @@ vertical-align: middle; } + /* 自定义全局样式 */ .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;}