I wanted to make a div colord pink and i want it to be tilted to the right but when i did it the div didn't take 100% of the width of the sreen. I also made the body magin and padding 0 but it still doesn't work
<html>
<div class="parent">
<div class="backgroundColor"><div>
</div>
</html>
<css>
.body{
margin: 0px;
padding: 0px;
}
.backgroundColor{
width: 100%;
height: 160px;
margin: 100px 0px 0px 0px;
background-color: pink;
transform: rotate(-9deg);
}
<css>
When i did this the top-right and bottom-left corner of the div didn't fill the whole screen. How can i make the corners fill the whole width of the screen without adding a scrollbar at the bottom of the screen?