diff options
Diffstat (limited to 'files/zh-cn/web')
-rw-r--r-- | files/zh-cn/web/html/element/picture/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/zh-cn/web/html/element/picture/index.html b/files/zh-cn/web/html/element/picture/index.html index a9c9638a6f..9d531e7880 100644 --- a/files/zh-cn/web/html/element/picture/index.html +++ b/files/zh-cn/web/html/element/picture/index.html @@ -27,7 +27,7 @@ translation_of: Web/HTML/Element/picture <li>遇到所有浏览器都不支持的特定格式时,提供不同的图像格式</li> </ul> -<p>If providing higher-density versions of an image for high-DPI (Retina) display, use {{htmlattrxref("srcset", "img")}} on the <code><img></code> element instead. This lets browsers opt for lower-density versions in data-saving modes, and you don't have to write explicit <code>media</code> conditions.</p> +<p>如果要为高 DPI (Retina) 显示提供更高像素密度的图像版本,请在 <code><img></code> 元素上使用 {{htmlattrxref("srcset", "img")}} 。这使得浏览器可以在节约流量模式下选择低像素密度版本,且不需要您编写明确的 <code>media</code> 条件。</p> <table class="properties"> <tbody> |