Is there a limit to how many operands you can have within a CSS calc()
function?
This works:
div {
left:calc((100%/54)*26);
left:-webkit-calc((100%/54)*26);
}
This does NOT work:
div {
left:calc(((100%/54)*14)-140px);
left:-webkit-calc(((100%/54)*14)-140px);
}
Of course, the latter is what I need, because I need to offset a few pixels, but as soon as I try to do that, the value seems to just go to zero. Any insight is appreciated!