From 1e7de5b9103999800062f1e6b18d94fd93f3ef06 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期五, 23 九月 2022 14:21:03 +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