We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/// 引用图片,自动获取图片的宽高 /// 但不设置背景 /// @param {string} $url [图片的路径]
@mixin wh($url) { width: width($url); height: height($url); }
该代码使用postcss-assets插件自动生成图片宽高,该功能生成的代码不会转化为vw,仍为px
The text was updated successfully, but these errors were encountered:
No branches or pull requests
/// 引用图片,自动获取图片的宽高
/// 但不设置背景
/// @param {string} $url [图片的路径]
@mixin wh($url) {
width: width($url);
height: height($url);
}
该代码使用postcss-assets插件自动生成图片宽高,该功能生成的代码不会转化为vw,仍为px
The text was updated successfully, but these errors were encountered: