diff options
Diffstat (limited to 'files/zh-cn/web/api/console')
-rw-r--r-- | files/zh-cn/web/api/console/index.html | 2 | ||||
-rw-r--r-- | files/zh-cn/web/api/console/timelog/index.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/files/zh-cn/web/api/console/index.html b/files/zh-cn/web/api/console/index.html index a5b296b310..053d2784c0 100644 --- a/files/zh-cn/web/api/console/index.html +++ b/files/zh-cn/web/api/console/index.html @@ -164,7 +164,7 @@ console.info("My first car was a", car, ". The object is:", someObject);</pre> <pre class="brush: js notranslate">console.log("This is %cMy stylish message", "color: yellow; font-style: italic; background-color: blue;padding: 2px");</pre> -<div></div> + <div>指令前的文本不会受到影响,但指令后的文本将会使用参数中声明的 CSS 样式。</div> diff --git a/files/zh-cn/web/api/console/timelog/index.html b/files/zh-cn/web/api/console/timelog/index.html index 9dc87c6071..3c8bbf2dfa 100644 --- a/files/zh-cn/web/api/console/timelog/index.html +++ b/files/zh-cn/web/api/console/timelog/index.html @@ -15,7 +15,7 @@ translation_of: Web/API/Console/timeLog <div>在控制台输出计时器的值,该计时器必须已经通过 {{domxref("console.time()")}} 启动。</div> -<div></div> + <p>参阅文档中的 <a href="/en-US/docs/Web/API/console#Timers">Timers</a> 部分获取详细说明和示例。 </p> |