zfb
GitHub repository

Type to search...

to open search from anywhere

Miscellaneous

Set vertical alignment, box sizing, object fitting, and screen-reader-only clipping.

Use these focused helpers for inline vertical alignment, box dimensions, replaced-element fitting, and visually hiding supplemental text while keeping it available to assistive technology.

Quick reference

Example classExpected declarations
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;
Example setup

Every preview explicitly uses spec: 1, reset: "none", strict mode, spacingUnit: "0.25rem", no breakpoints, and defaultTransitionTimingFunction: "ease". The data image is an inline SVG with intrinsic dimensions of 160 by 100, so object-fit results are deterministic. Authored CSS sets the comparison frames and box dimensions; zudo-wind supplies each alignment, sizing, fit, or sr-only declaration.

Examples in use

Align inline labels to a text line

The four fixed values place larger inline labels at the baseline, top, middle, or bottom of the surrounding line.

Align inline labels to a text line
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;
}
Configuration for this example
{
  "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"
      ]
    }
  }
}
Authored demonstration 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; }

Compare declared and total width

Both boxes declare width: 12rem and use the same padding and border. box-border includes them in that width; box-content adds them outside it.

Compare declared and total width
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;
}
Configuration for this example
{
  "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"
      ]
    }
  }
}
Authored demonstration 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; }

Fit one image five ways

object-contain preserves the full image, object-cover crops to fill, object-fill stretches, object-none keeps its intrinsic size, and object-scale-down only shrinks when needed.

Fit one image five ways
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;
}
Configuration for this example
{
  "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"
      ]
    }
  }
}
Authored demonstration 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; }

Add optional screen-reader context

The visible button remains labeled “Save”; sr-only adds a short supplemental phrase without hiding essential content.

Add optional screen-reader context
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;
}
Configuration for this example
{
  "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"
      ]
    }
  }
}
Authored demonstration 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

screen-reader-visibility uses exact supported Wind utility classes.

Screen reader visibility
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;
}
Configuration for this example
{
  "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"
      ]
    }
  }
}
Authored demonstration CSS
.wind-demo-new { color: #203046; font: 14px/1.5 system-ui, sans-serif; }

Custom and named values

All entries in this family are fixed keywords with no named token scale or arbitrary value form. Vertical alignment affects inline-level content relative to a line, not flex or grid alignment. box-border includes padding and border in the declared width; box-content measures the content box. object-fit controls how replaced content fits the element’s box. sr-only clips content visually but leaves it in the accessibility tree; do not use it to hide information that sighted users need.

Related guides: Utility grammar · Variants

Catalog details

align-baseline

FieldValue
Catalog identifierv1.align-baseline
Class patternalign-baseline
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank0
Selector shapeownElement
Spec version1
Emitter propertiesvertical-align

Accepted values

KindSuffixEmitted value
exactnull"baseline"

Declaration templates

PropertyValue kindFixed value
vertical-alignresolvednull

Catalog examples

Example classExpected declarations
align-baselinevertical-align: baseline

align-bottom

FieldValue
Catalog identifierv1.align-bottom
Class patternalign-bottom
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank0
Selector shapeownElement
Spec version1
Emitter propertiesvertical-align

Accepted values

KindSuffixEmitted value
exactnull"bottom"

Declaration templates

PropertyValue kindFixed value
vertical-alignresolvednull

Catalog examples

Example classExpected declarations
align-bottomvertical-align: bottom

align-middle

FieldValue
Catalog identifierv1.align-middle
Class patternalign-middle
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank0
Selector shapeownElement
Spec version1
Emitter propertiesvertical-align

Accepted values

KindSuffixEmitted value
exactnull"middle"

Declaration templates

PropertyValue kindFixed value
vertical-alignresolvednull

Catalog examples

Example classExpected declarations
align-middlevertical-align: middle

align-top

FieldValue
Catalog identifierv1.align-top
Class patternalign-top
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank0
Selector shapeownElement
Spec version1
Emitter propertiesvertical-align

Accepted values

KindSuffixEmitted value
exactnull"top"

Declaration templates

PropertyValue kindFixed value
vertical-alignresolvednull

Catalog examples

Example classExpected declarations
align-topvertical-align: top

box-border

FieldValue
Catalog identifierv1.box-border
Class patternbox-border
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank1
Selector shapeownElement
Spec version1
Emitter propertiesbox-sizing

Accepted values

KindSuffixEmitted value
exactnull"border-box"

Declaration templates

PropertyValue kindFixed value
box-sizingresolvednull

Catalog examples

Example classExpected declarations
box-borderbox-sizing: border-box

box-content

FieldValue
Catalog identifierv1.box-content
Class patternbox-content
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank1
Selector shapeownElement
Spec version1
Emitter propertiesbox-sizing

Accepted values

KindSuffixEmitted value
exactnull"content-box"

Declaration templates

PropertyValue kindFixed value
box-sizingresolvednull

Catalog examples

Example classExpected declarations
box-contentbox-sizing: content-box

object-contain

FieldValue
Catalog identifierv1.object-contain
Class patternobject-contain
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank2
Selector shapeownElement
Spec version1
Emitter propertiesobject-fit

Accepted values

KindSuffixEmitted value
exactnull"contain"

Declaration templates

PropertyValue kindFixed value
object-fitresolvednull

Catalog examples

Example classExpected declarations
object-containobject-fit: contain

object-cover

FieldValue
Catalog identifierv1.object-cover
Class patternobject-cover
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank2
Selector shapeownElement
Spec version1
Emitter propertiesobject-fit

Accepted values

KindSuffixEmitted value
exactnull"cover"

Declaration templates

PropertyValue kindFixed value
object-fitresolvednull

Catalog examples

Example classExpected declarations
object-coverobject-fit: cover

object-fill

FieldValue
Catalog identifierv1.object-fill
Class patternobject-fill
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank2
Selector shapeownElement
Spec version1
Emitter propertiesobject-fit

Accepted values

KindSuffixEmitted value
exactnull"fill"

Declaration templates

PropertyValue kindFixed value
object-fitresolvednull

Catalog examples

Example classExpected declarations
object-fillobject-fit: fill

object-none

FieldValue
Catalog identifierv1.object-none
Class patternobject-none
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank2
Selector shapeownElement
Spec version1
Emitter propertiesobject-fit

Accepted values

KindSuffixEmitted value
exactnull"none"

Declaration templates

PropertyValue kindFixed value
object-fitresolvednull

Catalog examples

Example classExpected declarations
object-noneobject-fit: none

object-scale-down

FieldValue
Catalog identifierv1.object-scale-down
Class patternobject-scale-down
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank2
Selector shapeownElement
Spec version1
Emitter propertiesobject-fit

Accepted values

KindSuffixEmitted value
exactnull"scale-down"

Declaration templates

PropertyValue kindFixed value
object-fitresolvednull

Catalog examples

Example classExpected declarations
object-scale-downobject-fit: scale-down

sr-only

FieldValue
Catalog identifierv1.sr-only
Class patternsr-only
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank3
Selector shapeownElement
Spec version1
Emitter propertiesposition, width, height, padding, margin, overflow, clip, white-space, border-width

Accepted values

KindSuffixEmitted value
exactnull"absolute"

Declaration templates

PropertyValue kindFixed value
positionfixed"absolute"
widthfixed"1px"
heightfixed"1px"
paddingfixed"0"
marginfixed"-1px"
overflowfixed"hidden"
clipfixed"rect(0,0,0,0)"
white-spacefixed"nowrap"
border-widthfixed"0"

Catalog examples

Example classExpected declarations
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

FieldValue
Catalog identifierv1.not-sr-only
Class patternnot-sr-only
Grammar{"acceptedKinds":["exact"],"arbitraryProperty":null,"allowsFractionSlash":false,"allowsColorOpacity":false}
Accepted values1
Token categoriesNo token category
Negative-value policyforbidden
Conflict group and rankmiscellaneous (44)
Order rank4
Selector shapeownElement
Spec version1
Emitter propertiesposition, width, height, padding, margin, overflow, clip, clip-path, white-space

Accepted values

KindSuffixEmitted value
exactnull"static"

Declaration templates

PropertyValue kindFixed value
positionfixed"static"
widthfixed"auto"
heightfixed"auto"
paddingfixed"0"
marginfixed"0"
overflowfixed"visible"
clipfixed"auto"
clip-pathfixed"none"
white-spacefixed"normal"

Catalog examples

Example classExpected declarations
not-sr-onlyposition: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal

Revision History

CreatedUpdated