Style borderBottomLeftRadius Property
Exemple
Ajoutez une bordure arrondie au coin inférieur gauche d'un élément div :
document.getElementById("myDIV").style.borderBottomLeftRadius = "25px";
Définition et utilisation
La propriété borderBottomLeftRadius définit ou renvoie la forme de la bordure du coin inférieur gauche.
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 | |||||
---|---|---|---|---|---|
borderBottomLeftRadius | 5.0 4.0 Webkit |
9.0 | 4.0 3.0 Moz |
5.0 3.1 Webkit |
10.5 |
Syntaxe
Renvoyez la propriété borderBottomLeftRadius :
object.style.borderBottomLeftRadius
Définissez la propriété borderBottomLeftRadius :
object.style.borderBottomLeftRadius = "length|% [length|%]|initial|inherit"
Valeurs de propriété
Value | Description |
---|---|
length | Defines the shape of the bottom-left corner. Default value is 0 |
% | Defines the shape of the bottom-left 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-left-radius d'un élément |
Version CSS | CSS3 |
Pages connexes
Référence CSS : propriété border-bottom-left-radius