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
编译前:颜色值是 #ccc @support-ie-version: 8; @use-autoprefixer: false;
.comment:after { .triangle(top left, #cccccc, 10px, corner); } 编译后:颜色值是 #666 .comment:after { position: absolute; width: 0; height: 0; border: #666666 solid 10px; border-bottom-color: transparent; border-right-color: transparent; }
The text was updated successfully, but these errors were encountered:
这个 mixin 的调用方式是 .triangle(@direction, @size, @color, @origin),你 @size 和 @color 写反了。 参考:http://ecomfe.github.io/est/#triangle-1
.triangle(@direction, @size, @color, @origin)
@size
@color
Sorry, something went wrong.
谢谢,我在estFiddle里调试的,没仔细看文档的api介绍。
No branches or pull requests
编译前:颜色值是 #ccc
@support-ie-version: 8;
@use-autoprefixer: false;
.comment:after {
.triangle(top left, #cccccc, 10px, corner);
}
编译后:颜色值是 #666
.comment:after {
position: absolute;
width: 0;
height: 0;
border: #666666 solid 10px;
border-bottom-color: transparent;
border-right-color: transparent;
}
The text was updated successfully, but these errors were encountered: