border-bottom-left-radius
Description
border-bottom-left-radius
sets the size of the round corner.
Item | Value |
---|---|
Initial value | 0 |
Inherited | no |
Version | CSS3 |
JavaScript syntax | object.style.borderBottomLeftRadius="5px" |
Syntax and Property Values
border-bottom-left-radius: length|% [length|%];
The property values are listed in the following table.
Value | Description |
---|---|
length | set the length for radius |
% | set percentage size for radius |
Example
<!DOCTYPE html>
<html>
<head>
<style>
div<!-- www. j av a 2 s .c om-->
{
border:2px solid;
padding:10px;
background:#dddddd;
border-bottom-left-radius:2em;
}
</style>
</head>
<body>
<div>a rounded border.</div>
</body>
</html>
The code above generates the following result.