Home > Web Front-end > Front-end Q&A > How to use css border-bottom-left-radius property

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

藏色散人
Release: 2019-05-29 10:55:58
Original
2941 people have browsed it

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|%];
Copy after login

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>
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template