calc

宽度比父盒子小40px

calc(100% - 40px);
原文地址:https://www.cnblogs.com/yadi001/p/15502165.html