blob: 603f0389873b77da743df8d7431fcef538919cc2 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
---
title: contain-intrinsic-size
slug: Web/CSS/contain-intrinsic-size
translation_of: Web/CSS/contain-intrinsic-size
---
<p>{{CSSRef}}</p>
<p><code>contains-intrinsic-size</code> CSSプロパティは、<a href="/ja/docs/Web/CSS/content-visibility"><code>content-visibility</code></a>で指定された要素の自然なサイズを制御します。</p>
<h2 id="Syntax" name="Syntax">Syntax</h2>
<pre class="brush:css no-line-numbers notranslate">/* <length> values */
contain-intrinsic-size: 1000px;
contain-intrinsic-size: 10rem;
/* <percentage> value */
contain-intrinsic-size: 10%;
</pre>
<h2 id="Specifications">Specifications</h2>
<table class="standard-table">
<thead>
<tr>
<th scope="col">Specification</th>
<th scope="col">Status</th>
<th scope="col">Comment</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{SpecName('CSS4 Sizing', '#propdef-contain-intrinsic-size')}}</td>
<td>{{Spec2('CSS4 Sizing')}}</td>
<td>Initial definition</td>
</tr>
</tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
<p>{{Compat("css.properties.contain-intrinsic-size")}}</p>
<h2 id="See_Also">See Also</h2>
<ul>
<li><a href="https://web.dev/content-visibility/">content-visibility: the new CSS property that boosts your rendering performance</a> (web.dev)</li>
</ul>
|