语法高亮,滚动条美化,设置页面调整

This commit is contained in:
fofolee
2019-04-19 02:41:09 +08:00
parent 1e8f76c000
commit 359d29ee0b
1590 changed files with 12328 additions and 11441 deletions

View File

@@ -7,7 +7,7 @@
<p><strong>使用说明:</strong>  &lt;big&gt; 元素在<a href="/en-US/docs/Web/Guide/HTML/HTML5">HTML5</a>中已经被移除了不应该再使用它。 取而代之的是web开发人员应该使用<a href="/en-US/docs/Web/CSS">CSS</a> 属性。</p>
</div>
<h2 id="语法">语法</h2>
<pre class="syntaxbox"><code><var>str</var>.big()</code></pre>
<pre><code class="language-javascript"><code><var>str</var>.big()</code></code></pre>
<h3 id="返回值">返回值</h3>
<p>带有 <a href="/zh-CN/docs/Web/HTML/Element/big" title="The HTML Big Element (&lt;big&gt;) 会使字体加大一号(例如从小号(small)到中号(medium),从大号(large)到加大(x-large)),最大不超过浏览器的最大字体。"><code>&lt;big&gt;</code></a>标签的字符串。</p>
<h2 id="描述">描述</h2>
@@ -15,15 +15,15 @@
<h2 id="示例">示例</h2>
<h3 id="使用big()函数"><code><font face="Open Sans, Arial, sans-serif">使用</font>big()函数</code></h3>
<p>下面的例子使用了字符串方法来改变一个字符串的字体大小:</p>
<pre class="brush: js">var worldString = 'Hello, world';
<pre><code class="language-javascript">var worldString = 'Hello, world';
console.log(worldString.small()); // &lt;small&gt;Hello, world&lt;/small&gt;
console.log(worldString.big()); // &lt;big&gt;Hello, world&lt;/big&gt;
console.log(worldString.fontsize(7)); // &lt;fontsize=7&gt;Hello, world&lt;/fontsize&gt;
</pre>
</code></pre>
<p>使用 <a href="/zh-CN/docs/Web/API/HTMLElement/style" title="HTMLElement.style 属性返回一个 CSSStyleDeclaration 对象表示元素的 内联style 属性attribute但忽略任何样式表应用的属性。 通过 style 可以访问的 CSS 属性列表可以查看 CSS Properties Reference。"><code>element.style</code></a> 对象你能更加一般地获得和操作该元素的style属性比如</p>
<pre class="brush: js">document.getElementById('yourElemId').style.fontSize = '2em';
</pre>
<pre><code class="language-javascript">document.getElementById('yourElemId').style.fontSize = '2em';
</code></pre>
<h2 id="规范">规范</h2>
<table class="standard-table">
<tbody>