Style borderTopLeftRadius Property

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP







<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]
-->




Style borderTopLeftRadius Property


❮ Style Object



Example


Add a rounded border to the top-left corner of a div element:



document.getElementById("myDIV").style.borderTopLeftRadius = "25px";

Try it Yourself »


Definition and Usage



The borderTopLeftRadius property sets or returns the shape of the border of the top-left corner.


Tip: This property allow you to add rounded borders to elements!



Browser Support














Property
borderTopLeftRadius Yes 9.0 Yes Yes Yes

Syntax


Return the borderTopLeftRadius property:



object.style.borderTopLeftRadius

Set the borderTopLeftRadius property:



object.style.borderTopLeftRadius = "length|% [length|%]|initial|inherit"

Note: The two length or percentage values of the
border-top-left-radius properties define the radii of a quarter ellipse that
defines the shape of the corner of the outer border edge. The first value is the
horizontal radius, the second the vertical radius. If the second value is
omitted it is copied from the first. If either length is zero, the corner is
square, not rounded. Percentages for the horizontal radius refer to the width of
the border box, whereas percentages for the vertical radius refer to the height
of the border box.


Property Values












Value Description
length Defines the shape of the top-left corner
% Defines the shape of the top-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

Technical Details








Default Value: 0
Return Value: A String, representing the border-top-left-radius property of an element
CSS Version CSS3

Related Pages


CSS reference: border-top-left-radius property




❮ Style Object

Popular posts from this blog

𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

Edmonton

Crossroads (UK TV series)