Propriété de style borderBottomRightRadius
Exemple
Ajoutez une bordure arrondie dans le coin inférieur droit d'un élément div :
document.getElementById("myDIV").style.borderBottomRightRadius = "25px";
Définition et utilisation
La propriété borderBottomRightRadius définit ou renvoie la forme de la bordure du coin inférieur droit.
Astuce : Cette propriété vous permet d'ajouter des bordures arrondies aux éléments !
Prise en charge du navigateur
Les nombres dans le tableau indiquent la première version du navigateur qui prend entièrement en charge la propriété.
Les nombres suivis de Webkit, Moz ou O spécifient la première version qui a fonctionné avec un préfixe.
Property | |||||
---|---|---|---|---|---|
borderBottomRightRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
Syntaxe
Renvoyez la propriété borderBottomRightRadius :
object.style.borderBottomRightRadius
Définissez la propriété borderBottomRightRadius :
object.style.borderBottomRightRadius = "length|% [length|%]|initial|inherit"
Valeurs de propriété
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 |
Détails techniques
Valeur par défaut: | 0 |
---|---|
Valeur de retour : | Une chaîne, représentant la propriété border-bottom-right-radius d'un élément |
Version CSS | CSS3 |
Pages connexes
Référence CSS : propriété border-bottom-right-radius