border-inline-end-width

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2021.

Experimental: Esta es una tecnología experimental
Comprueba la Tabla de compabilidad de navegadores cuidadosamente antes de usarla en producción.

La propiedad de CSS border-inline-end-width CSS property defines the width of the logical inline-end border of an element, que se asigna al estilo de borde físico dependiendo del modo de escritura, la direccionalidad y la orientación del texto del elemento. Esto corresponde a las propiedades border-top-width y border-bottom-width, o border-left-width, y border-right-width dependiendo de los valores definidos por writing-mode, direction, y text-orientation.

Pruébalo

Sintaxis

css
/* <'border-width'> values */
border-inline-end-width: 2px;
border-inline-end-width: thick;

Propiedades relacionadas son border-block-start-width, border-block-end-width, and border-inline-start-width, que definen los otros anchos del borde del elemento.

Valor inicialmedium
Applies toall elements
Heredableno
Percentageslogical-width of containing block
Valor calculadoabsolute length; 0 if the border style is none or hidden
Animation typeby computed value type

Valores

<'border-width'>

El ancho del borde. Mira border-width.

Sintaxis formal

border-inline-end-width = 
<line-width>

<line-width> =
<length [0,∞]> |
thin |
medium |
thick

Ejemplo

Contenido HTML

html
<div>
  <p class="exampleText">Example text</p>
</div>

Contenido CSS

css
div {
  background-color: yellow;
  width: 120px;
  height: 120px;
}

.exampleText {
  writing-mode: vertical-lr;
  border: 1px solid blue;
  border-inline-end-width: 5px;
}

Especificaciones

Specification
CSS Logical Properties and Values Level 1
# border-width

Compatibilidad con navegadores

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
border-inline-end-width

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
Uses a non-standard name.
Has more compatibility info.

Mira también