Help with Div handling

Asked

Viewed 34 times

0

Good afternoon. I need help handling a Div. In theory, I only have to pass a 'curved' div over another, but not just a circle, but something softer, as in the print below:

How would you do that? ps: I don’t have code ready yet, I would just like to understand the logic of CSS.

1 answer

0


There is a style called border-radius, how can you control the such "curve" mentioned by you.

you can manipulate the top,right,left and bottom of the object.

Example

div{
width: 120px;
height: 90px;
border: 1px solid;
border-top-left-radius: 80%;
border-top-right-radius: 80%;
}
<div></div>

Here you find everything related to border-radius

Browser other questions tagged

You are not signed in. Login or sign up in order to post.