我发现自己在LESS样式表中对一些图像宽度数字进行了硬编码.
可以使LESS功能自动化吗?例如
@banner-width : image-width("image/banner.png");
less
less ×1