W3Schools.com

CSS Reference

CSS Reference
CSS Selectors
CSS Reference Aural
CSS Web Safe Fonts
CSS Units
CSS Colors
CSS Color Values
CSS Color Names
CSS Color HEX
CSS3 Browser Support

CSS Properties

CSS3 border-bottom-right-radius Property

CSS Reference Complete CSS Reference

Example

Add a rounded border to the bottom-right corner of a div element:

div
{
border:2px solid;
border-bottom-right-radius:2em;
}

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The border-bottom-right-radius property is supported in IE9+, Firefox 4+, Chrome, Safari 5+, and Opera.


Definition and Usage

The border-bottom-right-radius property defines the shape of the border of the bottom-right corner.

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

Default value: 0
Inherited: no
Version: CSS3
JavaScript syntax: object.style.borderBottomRightRadius="5px"


Syntax

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

Note: The two length or percentage values of the border-bottom-right-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.

Value Description Play it
length Defines the shape of the bottom-right corner Play it »
% Defines the shape of the bottom-right corner in % Play it »


Related Pages

CSS3 tutorial: CSS3 Borders


CSS Reference Complete CSS Reference
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE