I stumbled upon the website recently, particularly noticing the Social News section on the side.
I am curious about how to create rotated divs (around 10 degrees) that span the full width of a webpage. Is it possible to make this responsive so that it works on mobile phones as well? I'm not very experienced with rotating divs. Could anyone guide me on how to achieve this using CSS?
This is what I have attempted so far:
<div class="container"></div>
And here is the CSS I used:
.container {
transform: rotate(10deg);
width: 100%;
height: 200px;
background: red;
}
However, the container does not stretch to full width as expected.