如何优雅地用js计算两个像素之间的加、减、乘、除

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/qq_35746765/article/details/79803495
流氓写法:
var px = (parseInt('3px')-parseInt('2px'))+'px';

猜你喜欢

转载自blog.csdn.net/qq_35746765/article/details/79803495