Perform Animation on CSS border-bottom-left-radius property

The CSS border-bottom-left-radius property can be animated to create smooth transitions between different radius values. This is useful for creating dynamic corner effects and interactive UI elements.

Syntax

selector {
    border-bottom-left-radius: value;
    animation: animation-name duration timing-function iteration-count;
}

@keyframes animation-name {
    from { border-bottom-left-radius: initial-value; }
    to { border-bottom-left-radius: final-value; }
}

Example: Animating Border Bottom Left Radius

The following example demonstrates how to animate the border-bottom-left-radius property from 150px to 50px and back −

<!DOCTYPE html>
<html>
<head>
<style>
    .animated-box {
        width: 300px;
        height: 200px;
        background-color: #ffeb3b;
        border: 8px solid #4caf50;
        border-bottom-left-radius: 150px;
        animation: radiusAnimation 3s infinite alternate;
        margin: 50px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: Arial, sans-serif;
        color: #333;
    }

    @keyframes radiusAnimation {
        0% {
            border-bottom-left-radius: 150px;
        }
        50% {
            border-bottom-left-radius: 50px;
        }
        100% {
            border-bottom-left-radius: 10px;
        }
    }
</style>
</head>
<body>
    <h2>Animated Border Bottom Left Radius</h2>
    <div class="animated-box">Watch the corner!</div>
</body>
</html>
A yellow box with green border appears, where the bottom-left corner smoothly animates from a large rounded curve (150px) to a smaller curve (50px) to almost square (10px) and back, creating a continuous pulsing effect on the corner radius.

Key Points

  • Use animation property to control duration, timing, and repetition
  • The @keyframes rule defines the animation sequence
  • The alternate value makes the animation reverse on each cycle
  • Only the bottom-left corner is affected, other corners remain unchanged

Conclusion

Animating the border-bottom-left-radius property creates smooth corner transitions that can enhance user interfaces. Use keyframes to define multiple animation stages for more complex effects.

Updated on: 2026-03-15T13:15:39+05:30

109 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements