zfb
GitHub リポジトリ

検索したい単語を入力

いつでも検索バーを開ける

その他

縦方向の整列、ボックスサイズ、オブジェクトの収まり、スクリーンリーダー専用の切り抜きを設定します。

行内の垂直位置、ボックスの寸法、置換要素の収まり方、そして支援技術に伝えたまま視覚的に隠す補足テキストを調整します。

クラスと CSS の早見表

クラスの例期待される宣言
align-baselinevertical-align: baseline;
align-topvertical-align: top;
align-middlevertical-align: middle;
align-bottomvertical-align: bottom;
box-borderbox-sizing: border-box;
box-contentbox-sizing: content-box;
object-containobject-fit: contain;
object-coverobject-fit: cover;
object-fillobject-fit: fill;
object-noneobject-fit: none;
object-scale-downobject-fit: scale-down;
sr-onlyposition: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
sr-onlyposition: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
not-sr-onlyposition: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal;
例の設定

すべてのプレビューで spec: 1、reset: "none"、strict モード、spacingUnit: "0.25rem"、空のブレークポイント、defaultTransitionTimingFunction: "ease" を明示します。データ画像は intrinsic size が 160 × 100 のインライン SVG なので、object-fit の結果を再現できます。自作 CSS は比較用の枠とボックス寸法を設定し、配置、サイズ計算、画像の収まり方、sr-only の宣言は zudo-wind が出力します。

使い方の例

行内ラベルをテキスト行に合わせる

四つの固定値で、大きな行内ラベルを周囲の行の baseline、top、middle、bottom に配置します。

行内ラベルをテキスト行に合わせる
HTML
<p class="wind-demo-align-line">Text baseline <span class="wind-demo-swatch align-baseline">baseline</span> <span class="wind-demo-swatch align-top">top</span> <span class="wind-demo-swatch align-middle">middle</span> <span class="wind-demo-swatch align-bottom">bottom</span></p>
CSS
@layer zw-reset, zw-tokens, zfb-hi, base, components;
@layer zw-tokens {
  :root {
    --zw-spacing-unit: .25rem;
  }
}
.wind-demo-align-line {
  margin: 0;
  max-width: 38rem;
  border-bottom: 1px solid #a7bacd;
  color: #24364b;
  font: 16px / 3 system-ui, sans-serif;
}

.wind-demo-swatch {
  border: 1px solid #6c88a4;
  background: #e4eff9;
  padding: .2rem;
  font-size: 1.1rem;
  line-height: 1;
}
.align-baseline {
  vertical-align: baseline;
}
.align-bottom {
  vertical-align: bottom;
}
.align-middle {
  vertical-align: middle;
}
.align-top {
  vertical-align: top;
}
この例の設定
{
  "wind": {
    "spec": 1,
    "reset": "none",
    "strict": true,
    "tokens": {
      "spacingUnit": "0.25rem"
    },
    "breakpoints": {},
    "defaultTransitionTimingFunction": "ease",
    "authoredClasses": {
      "wind-demo-align-line": true,
      "wind-demo-swatch": true
    },
    "safelist": {
      "docs-preview": [
        "align-baseline",
        "align-top",
        "align-middle",
        "align-bottom"
      ]
    }
  }
}
デモ用の自作 CSS
.wind-demo-align-line { margin: 0; max-width: 38rem; border-bottom: 1px solid #a7bacd; color: #24364b; font: 16px/3 system-ui, sans-serif; }
.wind-demo-swatch { border: 1px solid #6c88a4; background: #e4eff9; padding: 0.2rem; font-size: 1.1rem; line-height: 1; }

指定した幅と外形幅を比べる

両方のボックスで width: 12rem と同じ padding、border を使います。box-border はそれらを幅に含め、box-content は外側に加算します。

指定した幅と外形幅を比べる
HTML
<div class="wind-demo-boxes"><div class="wind-demo-box box-border">border-box<br>12rem total</div><div class="wind-demo-box box-content">content-box<br>12rem content</div></div>
CSS
@layer zw-reset, zw-tokens, zfb-hi, base, components;
@layer zw-tokens {
  :root {
    --zw-spacing-unit: .25rem;
  }
}
.wind-demo-boxes {
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  gap: 1rem;
  color: #24364b;
  font: 14px / 1.5 system-ui, sans-serif;
}

.wind-demo-box {
  width: 12rem;
  border: 4px solid #52779a;
  background: #e4eff9;
  padding: 1rem;
}
.box-border {
  box-sizing: border-box;
}
.box-content {
  box-sizing: content-box;
}
この例の設定
{
  "wind": {
    "spec": 1,
    "reset": "none",
    "strict": true,
    "tokens": {
      "spacingUnit": "0.25rem"
    },
    "breakpoints": {},
    "defaultTransitionTimingFunction": "ease",
    "authoredClasses": {
      "wind-demo-boxes": true,
      "wind-demo-box": true
    },
    "safelist": {
      "docs-preview": [
        "box-border",
        "box-content"
      ]
    }
  }
}
デモ用の自作 CSS
.wind-demo-boxes { display: flex; flex-wrap: wrap; align-items: start; gap: 1rem; color: #24364b; font: 14px/1.5 system-ui, sans-serif; }
.wind-demo-box { width: 12rem; border: 4px solid #52779a; background: #e4eff9; padding: 1rem; }

同じ画像を五通りに収める

object-contain は全体を表示し、object-cover は枠を埋めて切り抜き、object-fill は引き伸ばし、object-none は元サイズを保ち、object-scale-down は必要な場合だけ縮小します。

同じ画像を五通りに収める
HTML
<div class="wind-demo-object-grid"><figure class="wind-demo-object-card"><figcaption>contain</figcaption><span class="wind-demo-frame"><img width="160" height="100" src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Crect%20width%3D'160'%20height%3D'100'%20fill%3D'%23dbeafe'%2F%3E%3Ccircle%20cx%3D'48'%20cy%3D'50'%20r%3D'32'%20fill%3D'%231d4ed8'%2F%3E%3Crect%20x%3D'96'%20y%3D'15'%20width%3D'54'%20height%3D'70'%20rx%3D'8'%20fill%3D'%23f97316'%2F%3E%3C%2Fsvg%3E" alt="Blue circle and orange rounded rectangle on a pale blue field" class="wind-demo-image object-contain"></span></figure><figure class="wind-demo-object-card"><figcaption>cover</figcaption><span class="wind-demo-frame"><img width="160" height="100" src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Crect%20width%3D'160'%20height%3D'100'%20fill%3D'%23dbeafe'%2F%3E%3Ccircle%20cx%3D'48'%20cy%3D'50'%20r%3D'32'%20fill%3D'%231d4ed8'%2F%3E%3Crect%20x%3D'96'%20y%3D'15'%20width%3D'54'%20height%3D'70'%20rx%3D'8'%20fill%3D'%23f97316'%2F%3E%3C%2Fsvg%3E" alt="Blue circle and orange rounded rectangle on a pale blue field" class="wind-demo-image object-cover"></span></figure><figure class="wind-demo-object-card"><figcaption>fill</figcaption><span class="wind-demo-frame"><img width="160" height="100" src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Crect%20width%3D'160'%20height%3D'100'%20fill%3D'%23dbeafe'%2F%3E%3Ccircle%20cx%3D'48'%20cy%3D'50'%20r%3D'32'%20fill%3D'%231d4ed8'%2F%3E%3Crect%20x%3D'96'%20y%3D'15'%20width%3D'54'%20height%3D'70'%20rx%3D'8'%20fill%3D'%23f97316'%2F%3E%3C%2Fsvg%3E" alt="Blue circle and orange rounded rectangle on a pale blue field" class="wind-demo-image object-fill"></span></figure><figure class="wind-demo-object-card"><figcaption>none</figcaption><span class="wind-demo-frame"><img width="160" height="100" src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Crect%20width%3D'160'%20height%3D'100'%20fill%3D'%23dbeafe'%2F%3E%3Ccircle%20cx%3D'48'%20cy%3D'50'%20r%3D'32'%20fill%3D'%231d4ed8'%2F%3E%3Crect%20x%3D'96'%20y%3D'15'%20width%3D'54'%20height%3D'70'%20rx%3D'8'%20fill%3D'%23f97316'%2F%3E%3C%2Fsvg%3E" alt="Blue circle and orange rounded rectangle on a pale blue field" class="wind-demo-image object-none"></span></figure><figure class="wind-demo-object-card"><figcaption>scale-down</figcaption><span class="wind-demo-frame"><img width="160" height="100" src="data:image/svg+xml,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20width%3D'160'%20height%3D'100'%20viewBox%3D'0%200%20160%20100'%3E%3Crect%20width%3D'160'%20height%3D'100'%20fill%3D'%23dbeafe'%2F%3E%3Ccircle%20cx%3D'48'%20cy%3D'50'%20r%3D'32'%20fill%3D'%231d4ed8'%2F%3E%3Crect%20x%3D'96'%20y%3D'15'%20width%3D'54'%20height%3D'70'%20rx%3D'8'%20fill%3D'%23f97316'%2F%3E%3C%2Fsvg%3E" alt="Blue circle and orange rounded rectangle on a pale blue field" class="wind-demo-image object-scale-down"></span></figure></div>
CSS
@layer zw-reset, zw-tokens, zfb-hi, base, components;
@layer zw-tokens {
  :root {
    --zw-spacing-unit: .25rem;
  }
}
.wind-demo-object-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  color: #24364b;
  font: 13px / 1.4 system-ui, sans-serif;
}

.wind-demo-object-card {
  display: grid;
  gap: .3rem;
  margin: 0;
}

.wind-demo-frame {
  display: block;
  width: 7rem;
  height: 5rem;
  overflow: hidden;
  border: 1px solid #849bb3;
  background: #f2f6fa;
}

.wind-demo-image {
  display: block;
  width: 7rem;
  height: 5rem;
}
.object-contain {
  object-fit: contain;
}
.object-cover {
  object-fit: cover;
}
.object-fill {
  object-fit: fill;
}
.object-none {
  object-fit: none;
}
.object-scale-down {
  object-fit: scale-down;
}
この例の設定
{
  "wind": {
    "spec": 1,
    "reset": "none",
    "strict": true,
    "tokens": {
      "spacingUnit": "0.25rem"
    },
    "breakpoints": {},
    "defaultTransitionTimingFunction": "ease",
    "authoredClasses": {
      "wind-demo-object-grid": true,
      "wind-demo-object-card": true,
      "wind-demo-frame": true,
      "wind-demo-image": true
    },
    "safelist": {
      "docs-preview": [
        "object-contain",
        "object-cover",
        "object-fill",
        "object-none",
        "object-scale-down"
      ]
    }
  }
}
デモ用の自作 CSS
.wind-demo-object-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; color: #24364b; font: 13px/1.4 system-ui, sans-serif; }
.wind-demo-object-card { display: grid; gap: 0.3rem; margin: 0; }
.wind-demo-frame { display: block; width: 7rem; height: 5rem; overflow: hidden; border: 1px solid #849bb3; background: #f2f6fa; }
.wind-demo-image { display: block; width: 7rem; height: 5rem; }

任意の読み上げ補足を加える

見えるボタン名「Save」はそのままに、sr-only で短い補足を追加します。重要な内容は隠しません。

任意の読み上げ補足を加える
HTML
<div class="wind-demo-sr-example"><button type="button" class="wind-demo-sr-button">Save<span class="sr-only"> profile changes</span></button><p>The visible “Save” label stands on its own; the visually hidden words add optional context for a screen reader.</p></div>
CSS
@layer zw-reset, zw-tokens, zfb-hi, base, components;
@layer zw-tokens {
  :root {
    --zw-spacing-unit: .25rem;
  }
}
.wind-demo-sr-example {
  display: grid;
  justify-items: start;
  gap: .7rem;
  max-width: 30rem;
  color: #24364b;
  font: 15px / 1.5 system-ui, sans-serif;
}

.wind-demo-sr-example p {
  margin: 0;
}

.wind-demo-sr-button {
  border: 1px solid #526477;
  border-radius: .35rem;
  background: #eef3f8;
  padding: .55rem .8rem;
  color: inherit;
  font: inherit;
}

.wind-demo-sr-button:focus-visible {
  outline: 3px solid #1670b8;
  outline-offset: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
この例の設定
{
  "wind": {
    "spec": 1,
    "reset": "none",
    "strict": true,
    "tokens": {
      "spacingUnit": "0.25rem"
    },
    "breakpoints": {},
    "defaultTransitionTimingFunction": "ease",
    "authoredClasses": {
      "wind-demo-sr-example": true,
      "wind-demo-sr-button": true
    },
    "safelist": {
      "docs-preview": [
        "sr-only"
      ]
    }
  }
}
デモ用の自作 CSS
.wind-demo-sr-example { display: grid; justify-items: start; gap: 0.7rem; max-width: 30rem; color: #24364b; font: 15px/1.5 system-ui, sans-serif; }
.wind-demo-sr-example p { margin: 0; }
.wind-demo-sr-button { border: 1px solid #526477; border-radius: 0.35rem; background: #eef3f8; padding: 0.55rem 0.8rem; color: inherit; font: inherit; }
.wind-demo-sr-button:focus-visible { outline: 3px solid #1670b8; outline-offset: 3px; }

スクリーンリーダーと表示

screen-reader-visibility は対応済みの Wind ユーティリティクラスを使います。

スクリーンリーダーと表示
HTML
<div class="wind-demo-new"><span class="sr-only">Hidden visually</span><span class="not-sr-only">Visible label</span></div>
CSS
@layer zw-reset, zw-tokens, zfb-hi, base, components;
@layer zw-tokens {
  :root {
    --zw-spacing-unit: .25rem;
  }
}
.wind-demo-new {
  color: #203046;
  font: 14px / 1.5 system-ui, sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}
.not-sr-only {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
}
この例の設定
{
  "wind": {
    "spec": 1,
    "reset": "none",
    "strict": true,
    "tokens": {
      "spacingUnit": "0.25rem"
    },
    "breakpoints": {},
    "defaultTransitionTimingFunction": "ease",
    "authoredClasses": {
      "wind-demo-new": true
    },
    "safelist": {
      "docs-preview": [
        "sr-only",
        "not-sr-only"
      ]
    }
  }
}
デモ用の自作 CSS
.wind-demo-new { color: #203046; font: 14px/1.5 system-ui, sans-serif; }

任意値と名前付きの値

このファミリーの項目はすべて固定キーワードで、名前付きトークンスケールや任意値形式はありません。vertical-align は行内コンテンツを行に対して配置し、flex や grid の整列には使いません。box-border は padding と border を幅に含め、box-content は内容領域の幅を指定します。object-fit は置換要素の内容を要素の枠にどう収めるかを決めます。sr-only は支援技術のツリーには残したまま視覚的に切り取ります。視覚で読む人に必要な情報を隠す用途には使わないでください。

関連ガイド: ユーティリティの文法 · バリアント

カタログの詳細

align-baseline

フィールド値
カタログ識別子v1.align-baseline
クラスパターンalign-baseline
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位0
セレクタの形ownElement
仕様バージョン1
出力するプロパティvertical-align

受け入れる値

種類接尾辞出力される値
exactnull"baseline"

宣言テンプレート

プロパティ値の種類固定値
vertical-alignresolvednull

カタログの例

クラスの例期待される宣言
align-baselinevertical-align: baseline

align-bottom

フィールド値
カタログ識別子v1.align-bottom
クラスパターンalign-bottom
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位0
セレクタの形ownElement
仕様バージョン1
出力するプロパティvertical-align

受け入れる値

種類接尾辞出力される値
exactnull"bottom"

宣言テンプレート

プロパティ値の種類固定値
vertical-alignresolvednull

カタログの例

クラスの例期待される宣言
align-bottomvertical-align: bottom

align-middle

フィールド値
カタログ識別子v1.align-middle
クラスパターンalign-middle
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位0
セレクタの形ownElement
仕様バージョン1
出力するプロパティvertical-align

受け入れる値

種類接尾辞出力される値
exactnull"middle"

宣言テンプレート

プロパティ値の種類固定値
vertical-alignresolvednull

カタログの例

クラスの例期待される宣言
align-middlevertical-align: middle

align-top

フィールド値
カタログ識別子v1.align-top
クラスパターンalign-top
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位0
セレクタの形ownElement
仕様バージョン1
出力するプロパティvertical-align

受け入れる値

種類接尾辞出力される値
exactnull"top"

宣言テンプレート

プロパティ値の種類固定値
vertical-alignresolvednull

カタログの例

クラスの例期待される宣言
align-topvertical-align: top

box-border

フィールド値
カタログ識別子v1.box-border
クラスパターンbox-border
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位1
セレクタの形ownElement
仕様バージョン1
出力するプロパティbox-sizing

受け入れる値

種類接尾辞出力される値
exactnull"border-box"

宣言テンプレート

プロパティ値の種類固定値
box-sizingresolvednull

カタログの例

クラスの例期待される宣言
box-borderbox-sizing: border-box

box-content

フィールド値
カタログ識別子v1.box-content
クラスパターンbox-content
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位1
セレクタの形ownElement
仕様バージョン1
出力するプロパティbox-sizing

受け入れる値

種類接尾辞出力される値
exactnull"content-box"

宣言テンプレート

プロパティ値の種類固定値
box-sizingresolvednull

カタログの例

クラスの例期待される宣言
box-contentbox-sizing: content-box

object-contain

フィールド値
カタログ識別子v1.object-contain
クラスパターンobject-contain
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位2
セレクタの形ownElement
仕様バージョン1
出力するプロパティobject-fit

受け入れる値

種類接尾辞出力される値
exactnull"contain"

宣言テンプレート

プロパティ値の種類固定値
object-fitresolvednull

カタログの例

クラスの例期待される宣言
object-containobject-fit: contain

object-cover

フィールド値
カタログ識別子v1.object-cover
クラスパターンobject-cover
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位2
セレクタの形ownElement
仕様バージョン1
出力するプロパティobject-fit

受け入れる値

種類接尾辞出力される値
exactnull"cover"

宣言テンプレート

プロパティ値の種類固定値
object-fitresolvednull

カタログの例

クラスの例期待される宣言
object-coverobject-fit: cover

object-fill

フィールド値
カタログ識別子v1.object-fill
クラスパターンobject-fill
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位2
セレクタの形ownElement
仕様バージョン1
出力するプロパティobject-fit

受け入れる値

種類接尾辞出力される値
exactnull"fill"

宣言テンプレート

プロパティ値の種類固定値
object-fitresolvednull

カタログの例

クラスの例期待される宣言
object-fillobject-fit: fill

object-none

フィールド値
カタログ識別子v1.object-none
クラスパターンobject-none
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位2
セレクタの形ownElement
仕様バージョン1
出力するプロパティobject-fit

受け入れる値

種類接尾辞出力される値
exactnull"none"

宣言テンプレート

プロパティ値の種類固定値
object-fitresolvednull

カタログの例

クラスの例期待される宣言
object-noneobject-fit: none

object-scale-down

フィールド値
カタログ識別子v1.object-scale-down
クラスパターンobject-scale-down
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位2
セレクタの形ownElement
仕様バージョン1
出力するプロパティobject-fit

受け入れる値

種類接尾辞出力される値
exactnull"scale-down"

宣言テンプレート

プロパティ値の種類固定値
object-fitresolvednull

カタログの例

クラスの例期待される宣言
object-scale-downobject-fit: scale-down

sr-only

フィールド値
カタログ識別子v1.sr-only
クラスパターンsr-only
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位3
セレクタの形ownElement
仕様バージョン1
出力するプロパティposition, width, height, padding, margin, overflow, clip, white-space, border-width

受け入れる値

種類接尾辞出力される値
exactnull"absolute"

宣言テンプレート

プロパティ値の種類固定値
positionfixed"absolute"
widthfixed"1px"
heightfixed"1px"
paddingfixed"0"
marginfixed"-1px"
overflowfixed"hidden"
clipfixed"rect(0,0,0,0)"
white-spacefixed"nowrap"
border-widthfixed"0"

カタログの例

クラスの例期待される宣言
sr-onlyposition: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0

not-sr-only

フィールド値
カタログ識別子v1.not-sr-only
クラスパターンnot-sr-only
文法{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
受け入れる値1
トークンカテゴリトークンカテゴリなし
負の値の規則forbidden
競合グループと順位miscellaneous (44)
並び順の順位4
セレクタの形ownElement
仕様バージョン1
出力するプロパティposition, width, height, padding, margin, overflow, clip, clip-path, white-space

受け入れる値

種類接尾辞出力される値
exactnull"static"

宣言テンプレート

プロパティ値の種類固定値
positionfixed"static"
widthfixed"auto"
heightfixed"auto"
paddingfixed"0"
marginfixed"0"
overflowfixed"visible"
clipfixed"auto"
clip-pathfixed"none"
white-spacefixed"normal"

カタログの例

クラスの例期待される宣言
not-sr-onlyposition: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal

Revision History

作成更新