Hopefully this is quite simple. I want to use the CSS calc operation to perform two calculations:
I want to set my width to the equivalent of
(100% / 7) - 2
width: calc((100% / 7) - 2);
Apparently you have to assign
% to all numbers that are not being multiplied or divided.
width: calc((100% / 7) - 2px);
Well I feel dumb now. Haha.