From 150b521a43244622ec2d7a04e4e5e436dc6d9733 Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Wed, 22 Dec 2021 10:59:39 +0800 Subject: [PATCH] lee --- css/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/css/style.css b/css/style.css index 92a3671..ec74ef4 100644 --- a/css/style.css +++ b/css/style.css @@ -1202,6 +1202,7 @@ .news-content ul>li .news-txt h3{ font-size: 24px; line-height: 1.5; + display: -webkit-box;-webkit-line-clamp: 2;word-break: break-all;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical; } .news-content ul>li .news-txt .more{ left: 4px;