diff options
author | Tanner Dolby <tannercdolby@gmail.com> | 2022-02-22 01:49:36 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 17:49:36 +0800 |
commit | 6e9fe98036090a37cc6247b873845505e5b512fb (patch) | |
tree | 5fc00117ddfd9f448eb9e8011b5bd7f6d8000e8d /files/zh-cn/web/css/layout_cookbook | |
parent | 70c3e11f3335e7701325f125fd712c84d6c1f9bf (diff) | |
download | translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.gz translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.tar.bz2 translated-content-6e9fe98036090a37cc6247b873845505e5b512fb.zip |
Removes empty <div> or <p> elements from pages (#3093)
* Removes all empty paragraph elements
* Removes all empty div elements
* Preserve empty div in code snippet
* Preserve empty elements inside code snippets
* Remove fr files which were converted into markdown
* Web/CSS/transform-function/scaleX()/index.html
The file is already renamed to index.md。
* remove not needed file
* Resolve remaining conflict
Co-authored-by: julieng <julien.gattelier@gmail.com>
Co-authored-by: Masahiro FUJIMOTO <mfujimot@gmail.com>
Diffstat (limited to 'files/zh-cn/web/css/layout_cookbook')
-rw-r--r-- | files/zh-cn/web/css/layout_cookbook/column_layouts/index.html | 4 | ||||
-rw-r--r-- | files/zh-cn/web/css/layout_cookbook/index.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/css/layout_cookbook/column_layouts/index.html b/files/zh-cn/web/css/layout_cookbook/column_layouts/index.html index f402489865..a0cea93ee8 100644 --- a/files/zh-cn/web/css/layout_cookbook/column_layouts/index.html +++ b/files/zh-cn/web/css/layout_cookbook/column_layouts/index.html @@ -5,11 +5,11 @@ translation_of: Web/CSS/Layout_cookbook/Column_layouts --- <div>{{CSSRef}}</div> -<div></div> + <div>你可能经常需要创建一个包含几个栏目的布局,css提供了几个方法来实现它。使用Grid, Flexbox 或者 Multi-column layout 都取决于你想要实现什么目标,在这篇recipe中我们会探讨这些内容</div> -<div></div> + <div><img alt="three different styles of layouts which have two columns in the container." src="https://mdn.mozillademos.org/files/16183/cookbook-multiple-columns.png" style="height: 406px; width: 1541px;"></div> diff --git a/files/zh-cn/web/css/layout_cookbook/index.html b/files/zh-cn/web/css/layout_cookbook/index.html index f8c70e480b..fd586a248f 100644 --- a/files/zh-cn/web/css/layout_cookbook/index.html +++ b/files/zh-cn/web/css/layout_cookbook/index.html @@ -14,7 +14,7 @@ translation_of: Web/CSS/Layout_cookbook <div>CSS layout cookbook 这本书旨在汇集常见的布局样式,这些布局你可能在自己的网站中会用到。这些布局样式不仅仅可以可以用来开始一个项目,而且提供了具体的使用方法,作为开发人员,你可以做出合适的选择。</div> -<div></div> + <div class="note"> <p><strong>Note</strong>: 如果你是首次接触CSS布局,你可以先看一下<a href="/en-US/docs/Learn/CSS/CSS_layout">CSS layout learning module</a>,书中的基础知识有利于你更好的使用本书中的布局样式。</p> |