ben-g
11/2/2016 - 4:33 PM

Code example - using a calc in css

Code example - using a calc in css

In this case, the calc is being used to resize the left margin based upon container width.

margin-left: calc((100% - 920px) / 2);
width: 920px;