From c0b24b804539df3a40a0be613b44562c7e073005 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 20 四月 2023 10:43:46 +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