We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cb7ab05 commit 23d13f1Copy full SHA for 23d13f1
1 file changed
qmui/mixin/tool/_effect.scss
@@ -45,9 +45,8 @@
45
/// @param {Measure} $height - 三角形的高
46
/// @param {String} $direction - 三角形的方向(即与底边相对的顶点指向的方向)
47
/// @param {Color} $borderColor - 三角形的边框色
48
-/// @param {Color} $ie6borderColor [#f00] - IE6 不支持 border-color: transparent,而 border 三角形利用了这个特性,因此如果需要兼容 IE6,则需要填写 $ie6borderColor,颜色值一般为三角形背后元素的颜色。
49
/// @throw 由于方法内包含了有 $width / 2 的计算,因此如果 $width 的值为奇数,则实际上计算出的三角形会偏小,建议 $width 不要使用奇数。
50
-@mixin triangle($width, $height, $direction, $borderColor, $ie6borderColor:#f00) {
+@mixin triangle($width, $height, $direction, $borderColor) {
51
@extend %triangleCommonStyle;
52
/* 向上小三角 */
53
@if $direction == top {
0 commit comments