CSS CSS Tutorial CSS Advanced CSS Responsive Web Design(RWD) CSS Grid CSS Properties Sass Tutorial Sass Functions



border-bottom-left-radius

The border-bottom-left-radius property is used to set the radius of the bottom-left corner of an element's border. It is a part of the CSS3 border-radius module, which allows you to create rounded corners on elements.

The border-bottom-left-radius property can be used with any HTML element that has a border. It is commonly used with the border-radius property to create rounded corners on all four corners of an element.

The syntax for the border-bottom-left-radius property is as follows:

selector {
  border-bottom-left-radius: value;
}

The value of the border-bottom-left-radius property can be specified in pixels, ems, rems, or as a percentage of the element's width or height. You can also specify multiple values to create an elliptical shape for the corner.

Here are some examples of how to use the border-bottom-left-radius property:

/* Set the radius of the bottom-left corner to 10 pixels */
div {
  border-bottom-left-radius: 10px;
}

/* Set the radius of the bottom-left corner to 50% of the element's width */
div {
  border-bottom-left-radius: 50%;
}

/* Set the radius of the bottom-left corner to an elliptical shape */
div {
  border-bottom-left-radius: 50px 100px;
}

It is important to note that the border-bottom-left-radius property only affects the bottom-left corner of an element's border. To create rounded corners on all four corners of an element, you must also use the border-top-left-radius, border-top-right-radius, and border-bottom-right-radius properties.

Here is an example of how to use all four properties to create rounded corners on an element:

div {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

By default, the border-radius property sets the radius for all four corners of an element's border. However, you can override this behavior by specifying individual values for each corner using the border-top-left-radius, border-top-right-radius, border-bottom-left-radius, and border-bottom-right-radius properties.

Here is an example of how to override the border-radius property for the bottom-left corner of an element:

div {
  border-radius: 10px;
  border-bottom-left-radius: 5px;
}

This will create rounded corners on all four corners of the element's border, except for the bottom-left corner, which will have a smaller radius of 5 pixels.

Overall, the border-bottom-left-radius property is a useful tool for creating rounded corners on elements. By combining it with the other border-radius properties, you can create a variety of different shapes and styles for your borders.

References

Activity