I want to hide that second rectangular shape and the width should be 100% and responsive.
I am using position: absolute; & right:-10%.
I also tried body { max-width:100%; } but it isn't working.
Could you explain why is this happening and how to fix this?
.container2 {
position: absolute;
right: -10%;
width: 35vmax;
height: 90vmin;
background-image: linear-gradient(to bottom,hsl(293, 100%, 63%),hsl(264, 100%, 61%));
border-radius: 50% 50% 0% 0%;
}
<div class="container2"></div>
