CSS border-bottom-left-radius Property

You are Here:

Demo

border-bottom-left-radius: 25px;

CSS border-bottom-left-radius Property

CSS border-bottom-left-radius property rounds the bottom-left corner of an element's outer border edge.

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ border: 2px solid black; min-height: 50px; padding-top: 10px; text-align: center; } #point{ border-bottom-left-radius: 25px; } #point1{ border-bottom-left-radius: 50px 15px; } </style> </head> <body> <h1>CSS border-bottom-left-radius Property</h1> <h2>border-bottom-left-radius: 25px;</h2> <div id="point"> border-bottom-left-radius: 25px; </div> <h2>border-bottom-left-radius: 25px 5px;</h2> <div id="point1"> If two values are given, then the first one is for the bottom border, the second one for the left border. </div> </body> </html>

Syntax

Using CSS

element{ border-bottom-left-radius: 25px; }

Using Javascript

object.style.borderBottomLeftRadius="25px";

Animatable

Yes, border-bottom-left-radius property is animatable. CSS Animatable Properties Reference.

Default Value

Default value for CSS border-bottom-left-radius property is 0.

Property Value

The following table provides a list of all values for CSS border-bottom-left-radius property.

ValueExplanation
lengthAllows you to define the shape the shape of the bottom-left corners in any CSS length unit.
%Allows you to define the shape of the bottom-left corners in %.

Using Percentage Value

Use border-bottom-left-radius to round the bottom-left corner of an element's outer border edge.

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ border: 2px solid black; min-height: 150px; line-height: 150px; text-align: center; border-bottom-left-radius: 50%; background: url(ocean.jpg); color: #fff; } </style> </head> <body> <h1>CSS border-bottom-left-radius Property</h1> <div> border-bottom-left-radius: 50%; </div> </body> </html>

Using JavaScript

In the following example, we will demonstrate how to change the CSS border-bottom-left-radius property of an element using JavaScript.

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <head> <style> div{ padding: 10px; margin-bottom: 10px; border: 1px solid black; width: 150px; height: 150px; line-height: 150px; } </style> </head> <body> <h1>CSS border-bottom-left-radius Property</h1> <div> This is div container. </div> <button onclick="myFunction()">Click Me</button> <script> var x = document.getElementsByTagName("div")[0]; function myFunction(){ x.style.borderBottomLeftRadius = "100px"; } </script> </body> </html>

Reminder

Hi Developers, we almost covered 98.7% of CSS Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in CSS.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author