type-checking stylesheet functions

is-string, is-keyword, is-color, is-number
This commit is contained in:
Alexis Sellier
2012-01-03 18:45:31 +01:00
parent 77c8df029b
commit 5ec708c3f4
4 changed files with 35 additions and 0 deletions

View File

@@ -27,6 +27,14 @@
percentage: 20%;
color: #ff0011;
}
#built-in .is-a {
color: true;
color: true;
color: true;
keyword: true;
number: true;
string: true;
}
#alpha {
alpha: rgba(153, 94, 51, 0.6);
}