From cb3dad2147276f301f10cb861048c7789594f662 Mon Sep 17 00:00:00 2001 From: Lee <342694918@qq.com> Date: Fri, 21 Jan 2022 14:46:50 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B40121?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- css/style.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/css/style.css b/css/style.css index d47cc02..784fc53 100644 --- a/css/style.css +++ b/css/style.css @@ -649,10 +649,7 @@ font-size: 22px; line-height: 1.5; margin-top: 10px; - display: block; - overflow: hidden; - white-space: nowrap; - text-overflow:ellipsis; + display: -webkit-box;-webkit-line-clamp: 2;word-break: break-all;overflow: hidden;text-overflow: ellipsis;-webkit-box-orient: vertical; } .banner-content .banner-img{ width: 370px;