
- CSS - Home
- CSS - Roadmap
- CSS - Introduction
- CSS - Syntax
- CSS - Inclusion
- CSS - Types
- CSS - Measurement Units
- CSS - Selectors
- CSS - Colors
- CSS - Backgrounds
- CSS - Fonts
- CSS - Text
- CSS - Images
- CSS - Links
- CSS - Tables
- CSS - Borders
- CSS - Border Block
- CSS - Border Inline
- CSS - Margins
- CSS - Lists
- CSS - Padding
- CSS - Cursor
- CSS - Outlines
- CSS - Dimension
- CSS - Scrollbars
- CSS - Inline Block
- CSS - Dropdowns
- CSS - Visibility
- CSS - Overflow
- CSS - Clearfix
- CSS - Float
- CSS - Arrows
- CSS - Resize
- CSS - Quotes
- CSS - Order
- CSS - Position
- CSS - Hyphens
- CSS - Hover
- CSS - Display
- CSS - Focus
- CSS - Zoom
- CSS - Translate
- CSS - Height
- CSS - Hyphenate Character
- CSS - Width
- CSS - Opacity
- CSS - Z-Index
- CSS - Bottom
- CSS - Navbar
- CSS - Overlay
- CSS - Forms
- CSS - Align
- CSS - Icons
- CSS - Image Gallery
- CSS - Comments
- CSS - Loaders
- CSS - Attr Selectors
- CSS - Combinators
- CSS - Root
- CSS - Box Model
- CSS - Counters
- CSS - Clip
- CSS - Writing Mode
- CSS - Unicode-bidi
- CSS - min-content
- CSS - All
- CSS - Inset
- CSS - Isolation
- CSS - Overscroll
- CSS - Justify Items
- CSS - Justify Self
- CSS - Tab Size
- CSS - Pointer Events
- CSS - Place Content
- CSS - Place Items
- CSS - Place Self
- CSS - Max Block Size
- CSS - Min Block Size
- CSS - Mix Blend Mode
- CSS - Max Inline Size
- CSS - Min Inline Size
- CSS - Offset
- CSS - Accent Color
- CSS - User Select
- CSS - Cascading
- CSS - Universal Selectors
- CSS - ID Selectors
- CSS - Group Selectors
- CSS - Class Selectors
- CSS - Child Selectors
- CSS - Element Selectors
- CSS - Descendant Selectors
- CSS - General Sibling Selectors
- CSS - Adjacent Sibling Selectors
- CSS Advanced
- CSS - Grid
- CSS - Grid Layout
- CSS - Flexbox
- CSS - Visibility
- CSS - Positioning
- CSS - Layers
- CSS - Pseudo Classes
- CSS - Pseudo Elements
- CSS - @ Rules
- CSS - Text Effects
- CSS - Paged Media
- CSS - Printing
- CSS - Layouts
- CSS - Validations
- CSS - Image Sprites
- CSS - Important
- CSS - Data Types
- CSS3 Advanced Features
- CSS - Rounded Corner
- CSS - Border Images
- CSS - Multi Background
- CSS - Color
- CSS - Gradients
- CSS - Box Shadow
- CSS - Box Decoration Break
- CSS - Caret Color
- CSS - Text Shadow
- CSS - Text
- CSS - 2d transform
- CSS - 3d transform
- CSS - Transition
- CSS - Animation
- CSS - Multi columns
- CSS - Box Sizing
- CSS - Tooltips
- CSS - Buttons
- CSS - Pagination
- CSS - Variables
- CSS - Media Queries
- CSS - Functions
- CSS - Math Functions
- CSS - Masking
- CSS - Shapes
- CSS - Style Images
- CSS - Specificity
- CSS - Custom Properties
- CSS Responsive
- CSS RWD - Introduction
- CSS RWD - Viewport
- CSS RWD - Grid View
- CSS RWD - Media Queries
- CSS RWD - Images
- CSS RWD - Videos
- CSS RWD - Frameworks
- CSS References
- CSS Interview Questions
- CSS Online Quiz
- CSS Online Test
- CSS Mock Test
- CSS - Quick Guide
- CSS - Cheatsheet
- CSS - Properties References
- CSS - Functions References
- CSS - Color References
- CSS - Web Browser References
- CSS - Web Safe Fonts
- CSS - Units
- CSS - Animation
- CSS Resources
- CSS - Useful Resources
- CSS - Discussion
CSS - border-start-start-radius Property
CSS border-start-start-radius property defines the radius of the corner between the block-start and inline-start sides of an element. The property is a logical border radius, which means that its value depends on the element's writing mode, direction, and text orientation.
Syntax
border-start-start-radius: 0 | length | percentage | initial | inherit;
Property Values
Value | Description |
---|---|
0 | It shows no rounding effect. Default. |
length | It defines the roundness of block-start and inline-start corner using length values. |
percentage | It defines the roundness of block-start and inline-start corner using percentage values. |
initial | This sets the property to its default value. |
inherit | This inherits the property from the parent element. |
Examples of CSS Border Start start Radius
The following examples explain the border-start-start-radius property with different values.
Border Start Start Radius Property with Zero Value
To not have any rounding effect at the block-start and inline-start corner, we can use 0. In the following example, 0 value has been used.
Example
<!DOCTYPE html> <html> <head> <style> .rounded-box { padding:20px; width: 150px; height: 150px; border: 3px solid green; border-start-start-radius: 0; } </style> </head> <body> <h2> CSS border-start-start-radius property </h2> <div class="rounded-box"> No rounded corner for block-start and inline-start corner. </div> </body> </html>
Border Start Start Radius Property with Length Values
To have a rounding effect at the block-start and inline-start corner, we can specify the roundness in terms of length values (e.g. 10px, 20px 30px etc.). In the following example, length values have been used.
Example
<!DOCTYPE html> <html> <head> <style> .boxes { width: 150px; height: 150px; padding: 25px; border: 3px solid red; } .rounded-box1 { border-start-start-radius: 80px; } .rounded-box2 { border-start-start-radius: 80px 80px; } </style> </head> <body> <h2> CSS border-start-start-radius property </h2> <h3> Single Value: 80px (The corner will be a circle) </h3> <p class="boxes rounded-box1"> Rounded corner for block-start and inline-start corner with single value. </p> <h3> Two Values: 80px 80px (The corner will be an ellipse) </h3> <p class="boxes rounded-box2"> Rounded corner for block-start and inline-start corner with two values. </p> </body> </html>
Border Start Start Radius Property with Percentage Values
To have a rounding effect at the block-start and inline-start corner, we can specify the roundness in terms of percentage values (e.g. 10%, 20% 30% etc.). In the following example, percentage values have been used.
Example
<!DOCTYPE html> <html> <head> <style> .boxes { width: 150px; height: 150px; padding: 25px; border: 3px solid red; } .rounded-box1 { border-start-start-radius: 50%; } .rounded-box2 { border-start-start-radius: 50% 50%; } </style> </head> <body> <h2> CSS border-start-start-radius property </h2> <h3> Single Value: 50% (The corner will be a circle) </h3> <p class="boxes rounded-box1"> Rounded corner for block-start and inline-start corner with single value. </p> <h3> Two Values: 50% 50% (The corner will be an ellipse) </h3> <p class="boxes rounded-box2"> Rounded corner for block-start and inline-start corner with two values. </p> </body> </html>
Border Start Start Radius Property with Direction
The direction parameter in the context of border-start-start-radius determines which corner is to be rounded. In the LTR direction, the top left corner is rounded while in RTL direction the top right corner is rounded. LTR is the default direction. These are shown in the following example.
Example
<!DOCTYPE html> <html> <head> <style> .boxes { width: 150px; height: 150px; padding: 25px; border: 3px solid red; border-start-start-radius: 120px 60px; } .right { direction: ltr; } .left { direction: rtl; } </style> </head> <body> <h2> CSS border-start-start-radius property </h2> <h3> Left-to-Right direction: top left corner is rounded </h3> <p class=" boxes right"> block-start and inline-start rounded corner using direction: ltr </p> <h3> Right-to-Left direction: top right corner is rounded </h3> <p class="boxes left"> block-start and inline-start rounded corner using direction: rtl </p> </body> </html>
Border Start Start Radius Property with Writing Mode
The border-start-start-radius property can be used with writing-mode: vertical-lr, it arranges text vertically from top to bottom and left to right. Similarly, with writing-mode: vertical-rl, it arranges text vertically from top to bottom and right to left. These are shown in the following example.
Example
<!DOCTYPE html> <html> <head> <style> .rounded-box { width: 150px; height: 150px; padding: 25px; border: 3px solid red; margin: 10px; border-start-start-radius: 30%; } .top-left-lr { writing-mode: vertical-lr; } .top-left-rl { writing-mode: vertical-rl; } </style> </head> <body> <h2> CSS border-start-start-radius property </h2> <h3> Writing mode: vertical-lr </h3> <div class="rounded-box top-left-lr"> block-start and inline-start rounded corner using vertical-lr. </div> <h3> Writing mode: vertical-rl </h3> <div class="rounded-box top-left-rl"> block-start and inline-start rounded corner using vertical-rl. </div> </body> </html>
Note: The border-start-start-radius property can take upto two values, so depending on the number of values passed, the roundness of the corner will be decided.
- One value: if one value is given to the property, the corner at the block-start and inline-start will be circular.
- Two values: if two values are given to the property, the corner at the block-start and inline-start will be elliptical.
Supported Browsers
Property | ![]() |
![]() |
![]() |
![]() |
![]() |
---|---|---|---|---|---|
border-start-start-radius | 89.0 | 89.0 | 66.0 | 15.0 | 75.0 |