From bd18bae05ec337f06ba825d4e4148f7129009c14 Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期一, 27 五月 2024 15:20:49 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index fe2a482..abcc1c1 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -1,15 +1,15 @@ .text-content { width: 100%; height: 100%; - font-size: 40px; + font-size: 13px; /* background-color: aliceblue; */ } .swiper-head { width: 100%; height: 10%; background-color: rgba(54, 94, 226, 0.5); - display: grid; - grid-template-columns: 2fr 3fr 2fr 2fr 1fr; + display: flex; + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ align-items: center; } @@ -24,9 +24,11 @@ /* background-color: #00a8ff; */ } .swiper-item { - display: grid; + display: flex; align-items: center; - grid-template-columns: 2fr 3fr 2fr 2fr 1fr; + /* display: grid; */ + /* align-items: center; */ + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ } .swiper-item:nth-child(2n-1) { background-color: rgba(255, 255, 255, .1); -- Gitblit v1.9.1