aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/css/@media/height/index.html
blob: 9d556e3e45c62c35ea3fa021d7c25f26c0804cee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
---
title: height
slug: Web/CSS/@media/height
translation_of: Web/CSS/@media/height
---
<p><strong><code>height</code></strong> 屬於 CSS 的媒體功能之一,其值為可視區域 (viewport) 的高度,像是 CSS 的 <a href="/en-US/docs/Web/CSS/length"><code>&lt;length&gt;</code></a></p>

<h2 id="規格">規格</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">規格</th>
   <th scope="col">狀態</th>
   <th scope="col">註釋</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td>{{SpecName('CSS3 Media Queries', '#height', 'height')}}</td>
   <td>{{Spec2('CSS3 Media Queries')}}</td>
   <td>初始定義。</td>
  </tr>
 </tbody>
</table>

<h2 id="Browser_compatibility" name="Browser_compatibility">瀏覽器相容性</h2>

{{Compat("css.at-rules.media.height")}}