The calc attribute of css3 does not take effect
1. It means that the most common operation symbol does not add spaces
eg: width:calc(100%-100px) The
correct way to write eg: width:calc(100%-100px)
2. It depends on whether your calculation is missing the unit
eg: width:calc (500-100px)
Correct writing: eg: width:calc(500px-100px)