hhhhhh4hhhhhh444444444444444444444444444444444444444444444hhhhhh444444444444444444444444444444444444444444444hhhhhh444444444444444444444444444444444444444444444hhhhhh444444444444444444444444444444444444444444444hhhhhh4444
2017-07-23
其实我很纳闷的是percentage()函数 将一个不带单位的数转换成百分比值; 我直接在数值后面加一个%不就好了嘛 敲那么多次键盘不累吗?
2017-07-22
type-of(null) => null
type-of(a b c) => list
type-of((a: 1, b: 2)) => map
type-of(get-function("foo")) => function
type-of(a b c) => list
type-of((a: 1, b: 2)) => map
type-of(get-function("foo")) => function
2017-07-22
Sass 3.4.0 changelog:
index() now returns null rather than false if the value isn't found in the list.
也就是说3.4.0开始如果没有找到返回null,而不是false
index() now returns null rather than false if the value isn't found in the list.
也就是说3.4.0开始如果没有找到返回null,而不是false
2017-07-22
遇到问题要学会搜索。以下是min(), max()接受list的方法。
//SCSS
$list: (6,50,45,3,55,10,23);
td {width: max($list...) + "px"; height: min($list...) + "px";}
//css
td {
width: "55px";
height: "3px"; }
//SCSS
$list: (6,50,45,3,55,10,23);
td {width: max($list...) + "px"; height: min($list...) + "px";}
//css
td {
width: "55px";
height: "3px"; }
2017-07-22
DEPRECATION WARNING: Passing Hello Sass, a non-string value, to unquot
e()
will be an error in future versions of Sass.
on line 14 of test.scss
e()
will be an error in future versions of Sass.
on line 14 of test.scss
2017-07-22