border-left

Baseline Widely available

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

Resumen

El borde_izquierdo es una propiedad rápida para poner el ancho, estilo y color del borde izquierdo de un elemento. Esta propiedad puede ser usada para poner los valores de uno o mas de : border-left-width, border-left-style, border-left-color. Valores omitidos son puestos a su valor inicial.

Valor inicialas each of the properties of the shorthand:
Applies toall elements. It also applies to ::first-letter.
Heredableno
Valor calculadoas each of the properties of the shorthand:
Animation typeas each of the properties of the shorthand:

Sintaxis

border-left: [border-width || border-style || border-color | inherit] ;

Valores

Ejemplos

css
element {
  border-left: 1px solid #000;
}

Notas

Si las reglas no especifican un color de borde, el borde tendrá la propiedad color

Especificaciones

Specification
CSS Backgrounds and Borders Module Level 3
# border-shorthands

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-left

Legend

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

Full support
Full support