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