From 2f3adea0b0086119de8aa828bfce1486006f2ffb Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 18 八月 2022 16:57:07 +0800 Subject: [PATCH] # --- static/css/common.css | 29 +++++++++++++++++++++++++++++ 1 files changed, 29 insertions(+), 0 deletions(-) diff --git a/static/css/common.css b/static/css/common.css index e115ee7..07f56da 100644 --- a/static/css/common.css +++ b/static/css/common.css @@ -1,3 +1,32 @@ +/* columns 鍒� 缂╁啓 col */ +/* 涓�琛屼竴鍒� */ +.one-col { + width: 100%; + height: 0; + padding-bottom: 100%; + background-color: #FFF; + display: inline-block; + float: left; +} +/* 涓�琛屼袱鍒� */ +.two-cols { + width: 50%; + height: 0; + padding-bottom: 50%; + background-color: #FFF; + display: inline-block; + float: left; +} +/* 涓�琛屼笁鍒� */ +.three-cols { + width: 33.33%; + height: 0; + padding-bottom: 33.33%; + background-color: #FFF; + display: inline-block; + float: left; +} + /* 鏉$爜鎵弿妗� */ .search-box { width: 100%; -- Gitblit v1.9.1