aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/html/element/input/number/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/html/element/input/number/index.html')
-rw-r--r--files/ja/web/html/element/input/number/index.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/files/ja/web/html/element/input/number/index.html b/files/ja/web/html/element/input/number/index.html
index 8177c9f00f..26e7df6a71 100644
--- a/files/ja/web/html/element/input/number/index.html
+++ b/files/ja/web/html/element/input/number/index.html
@@ -315,7 +315,6 @@ input:valid+span:after {
<input id="meters" type="number" name="meters" step="0.01" min="0" placeholder="例 1.78" required>
<span class="validity"></span>
</div>
- <div class="feetInputGroup" style="display: none;">
<span>あなたの身長を入力してください — </span>
<label for="feet">フィート:</label>
<input id="feet" type="number" name="feet" min="0" step="1">
@@ -334,7 +333,7 @@ input:valid+span:after {
<p>これまでの記事ですでに見てきた属性の多くを使用していることがわかります。センチメートル単位のメートル値を受け入れるため、 <code>step</code> の値を <code>0.01</code> に設定して、 <em>1.78</em> のような値が無効とされないようにしました。また、その入力欄のプレイスホルダーも提供しました。</p>
-<p>最初はフィートとインチの入力欄を <code>style="display: none;"</code> を使用して非表示にしているため、既定はメートルでの入力です。</p>
+<p>最初はフィートとインチの入力欄を <code>class="hidden"</code> を使用して非表示にしているため、既定はメートルでの入力です。</p>
<p>次に、 CSS に進みます。これは、以前に見た検証のスタイル付けととても良く似ています。ここで注目するところはありません。</p>