For example, .container-a has these styles:
.container-a {
max-width: 1240px;
margin: 0 auto;
}
This means that .container-a will never exceed the defined width of 1240px. The left and right auto margins mean the browser automatically calculates equal margins on the left and right side which makes it always centered no matter how large the screen gets.
Now, say I want to have another container. This container-b should offset the same left margin that .container-a offsets to the left which means both .container-a and .container-b start at the same point. The only difference is that this particular container-b doesn't offset a right margin and does not have a defined maximum width which means it fills the remaining available space on the browser window irrespective of how large the screen gets. Is that possible and how do I achieve that?