Translate inset (#32625)

This commit is contained in:
Althea Espejo
2019-08-13 22:03:32 +02:00
committed by Randell Dawson
parent 37de278574
commit 4615d1dc18

View File

@ -20,8 +20,8 @@ Una sombra de cuadro se puede describir con varias propiedades, que incluyen:
} }
``` ```
* #### inset (default: none) * #### inset (default: none)
If not specified, the shadow is assumed to be a drop shadow (as if the box were raised above the content). Si no está especificado, la sombra asume la forma de sombra arrojada (como si la cara estuviera por encima del contenido).
The presence of the `inset` keyword changes the shadow to one inside the frame La presencia de la palabra clave `inset` cambia la sombra hacia el interior del marco.
* #### offset-x offset-y * #### offset-x offset-y
These are two `length` values to set the shadow offset. <offset-x> specifies the horizontal distance. Negative values place the shadow to the left of the element. `offset-y` specifies the vertical distance. Negative values place the shadow above the element. See `length` for possible units. These are two `length` values to set the shadow offset. <offset-x> specifies the horizontal distance. Negative values place the shadow to the left of the element. `offset-y` specifies the vertical distance. Negative values place the shadow above the element. See `length` for possible units.
@ -79,4 +79,4 @@ Puede combinar las dos piezas anteriores de recuadros de sombras con una coma pa
#### Más información #### Más información
* Docs: [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow) * Docs: [MDN](https://developer.mozilla.org/en-US/docs/Web/CSS/box-shadow)