Home  >  Article  >  Web Front-end  >  How to use css border-bottom-left-radius property

How to use css border-bottom-left-radius property

藏色散人
藏色散人Original
2019-05-29 10:55:582900browse

css The border-bottom-left-radius property is used to define the shape of the lower left corner of the border. Its syntax is border-bottom-left-radius: length|% [length|%].

How to use css border-bottom-left-radius property

How to use the css border-bottom-left-radius property?

Function: Define the shape of the lower left corner of the border.

Syntax:

border-bottom-left-radius: length|% [length|%];

Description:

length Defines the shape of the lower left corner.

% Defines the shape of the lower left corner as a percentage value.​

Note:

The length value and percentage value of the border-bottom-left-radius property define the radius (radii) of the quarter ellipse (the corner shape that defines the outer border edge). The first value is the horizontal radius and the second value is the vertical radius. If the second value is omitted, the first value is copied. If the length is zero, the corners are square, not round. Percentage values ​​for the horizontal radius refer to the width of the border box, while percentage values ​​for the vertical radius refer to the height of the border box.

css border-bottom-left-radius property usage example

<!DOCTYPE html>
<html>
<head>
<style> 
div
{
border:2px solid;
padding:10px;
background:#dddddd;
border-bottom-left-radius:2em;
}
</style>
</head>
<body>
<div>border-bottom-left-radius 属性允许您向左下角添加圆角边框。</div>
</body>
</html>

Effect output:

How to use css border-bottom-left-radius property

The above is the detailed content of How to use css border-bottom-left-radius property. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn