Template:Border-radius/doc
Jump to navigation
Jump to search
![]() | This is a documentation subpage for Template:Border-radius. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
Can be used in the style property to create rounded corners. <div style="width:5em; height:10em; background:gray; {{Border-radius}}"></div>
makes:
To add a custom radius, pass an argument. <div style="width:5em; height:10em; background:gray; {{Border-radius|35%}}"></div>
makes:
You can also pass a custom radius per-corner. The order of corners is clockwise, starting from the top left corner. <div style="width:5em; height:10em; background:gray; {{Border-radius|7px|50px|0px|25px}}"></div>
makes:
This page does not need to be Hell Busted, according to L10nM4st3r, for it appears to be fine. |