I was attempting to design a website where the main content takes up 60% of the body. This is what I tried initially:
body {
align-items: center;
text-align: left;
justify-content: center;
width: 60%;
}
Unfortunately, this approach did not work as expected.
I then experimented with using translateX to shift the content by 20% to the right.
Do you have any suggestions or advice on how to achieve the desired layout?