Curve box one corner css

To create a div box with one curved corner in HTML, you can use CSS properties to achieve the desired effect. Here's an example using the `border-radius` property to curve only one corner:


```html

<!DOCTYPE html>

<html lang="en">

<head>

  <meta charset="UTF-8">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <title>Curved Corner Box</title>

  <style>

    .curved-box {

      width: 200px;

      height: 100px;

      background-color: #ccc;

      border-radius: 0 0 20px 0; /* top right bottom left */

      padding: 20px;

    }

  </style>

</head>

<body>


<div class="curved-box">

  Content goes here

</div>


</body>

</html>

```


In this example:


- The `border-radius` property is set to `0 0 20px 0`, which means the top-left and bottom-left corners have a radius of `0`, while the top-right corner has a radius of `20px`.

- Adjust the values as needed to control the curvature of the corner.

- The `padding` property is used to add some space inside the div, but it's optional based on your design requirements.


Feel free to modify the styles to suit your specific layout and design preferences.

Curved Corner Box
Content goes here
Previous
Next Post »