Is it possible to get a negative value with CSS calc()?
问题 Let's say we have a container that is centered in the viewport ... .centered{margin: 0 auto; width:960px;} ... and inside that container I have another that needs to have a width of 100% the viewport width. I could set the margin to ... .widest{margin: 0 -480px} ... for example. The thing is that the value won't be -480px, but actually the viewport width (960px) - the .centered width / 2 ... all good and easy with calc(), only I need a result that is a negative value. .widest{ margin: 0 calc(