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 julio de 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 inicial | as each of the properties of the shorthand:
|
|---|---|
| Applies to | all elements. It also applies to ::first-letter. |
| Heredable | no |
| Valor calculado | as each of the properties of the shorthand:
|
| Animation type | as each of the properties of the shorthand:
|
Sintaxis
border-left: [border-width || border-style || border-color | inherit] ;
Valores
- border-width
-
See
border-width. - border-style
-
See
border-style. - border-color
-
See
border-color.
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
Loading…