Help with Div manipulation

0

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

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

    
asked by anonymous 01.08.2017 / 20:27

1 answer

0

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

You can manipulate the object's top, right, left, and bottom .

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

    
01.08.2017 / 21:29