Estilo borderBottomRightRadius Propiedad
Ejemplo
Agregue un borde redondeado a la esquina inferior derecha de un elemento div:
document.getElementById("myDIV").style.borderBottomRightRadius = "25px";
Definición y uso
La propiedad borderBottomRightRadius establece o devuelve la forma del borde de la esquina inferior derecha.
Consejo: ¡Esta propiedad le permite agregar bordes redondeados a los elementos!
Compatibilidad con navegador
Los números de la tabla especifican la primera versión del navegador que es totalmente compatible con la propiedad.
Los números seguidos de Webkit, Moz u O especifican la primera versión que funcionó con un prefijo.
Property | |||||
---|---|---|---|---|---|
borderBottomRightRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
Sintaxis
Devuelve la propiedad borderBottomRightRadius:
object.style.borderBottomRightRadius
Establezca la propiedad borderBottomRightRadius:
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
Valores de propiedad
Value | Description |
---|---|
length | Defines the shape of the bottom-right corner. Default value is 0 |
% | Defines the shape of the bottom-right corner in % |
initial | Sets this property to its default value. Read about initial |
inherit | Inherits this property from its parent element. Read about inherit |
Detalles técnicos
Valor por defecto: | 0 |
---|---|
Valor de retorno: | Una cadena, que representa la propiedad border-bottom-right-radius de un elemento |
Versión CSS | CSS3 |
páginas relacionadas
Referencia CSS: propiedad border-bottom-right-radius