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

silencement
Release: 2019-05-27 10:45:54
Original
2913 people have browsed it

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

border-bottom-right-radius attribute definition and usage

In css, the border-top-right-radius attribute is used to The border in the upper right corner of the element is set to a rounded border (it can also be in other shapes). This attribute is generally used when the upper right corner is set to be rounded separately; if we want to set the four corners of the element to be rounded at the same time, of course we can Use this attribute and three other attributes similar to this attribute (see similar attributes below), but we generally choose the border-radius attribute. The border-radius attribute can define the settings of the four corners in the same statement, so it can be omitted. A few lines of code and better readability.

Border-bottom-right-radius similar properties

border-top-left-radius property: Set the upper left corner to a rounded corner or other shape;

border-bottom-left-radius property: Set the lower left corner to a rounded corner or other shape;

border-bottom-right-radius property: Set the lower right corner to a rounded corner or other shape;

border-bottom-right-radius attribute syntax format

css syntax: border-top-right-radius:5px 10px;

css syntax: border-top -right-radius:6px;

css syntax: border-top-right-radius:30% 80%;

css syntax: border-top-right-radius:50%;

JavaScript syntax: object.style.borderTopRightRadius="5px";

border-bottom-right-radius attribute value description

border-top- The right-radius attribute has two attribute values. If the two attribute values are the same, you can omit one attribute value and the effect will be exactly the same. When there are two attribute values: the first attribute value represents the horizontal radius of the upper right corner shape, and the second attribute value represents the vertical radius; when there is only one attribute value: the attribute value represents the horizontal radius and vertical radius of the upper right corner shape .

Example

    css border-top-right-radius属性将右上角设置为圆角边框  
border-top-right-radius:56px 36px;
border-top-right-radius:60px;
border-top-right-radius:20% 80%;
Copy after login

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

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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!