UNPKG

601 Btext/stylusView Raw
1vendor(prop, args)
2 -webkit-{prop} args
3 -moz-{prop} args
4 -ms-{prop} args
5 -o-{prop} args
6 {prop} args
7
8transition()
9 vendor('transition', arguments)
10
11user-select()
12 user-select arguments
13 -moz-user-select arguments
14 -webkit-user-select arguments
15 -ms-user-select arguments
16
17// from nib -- http://visionmedia.github.io/nib/
18placeholder()
19 for v in ':-webkit-input' '-moz' ':-moz' '-ms-input'
20 &:{v}-placeholder
21 for pair in arguments
22 if typeof(pair) == 'function'
23 pair()
24 else if pair is not null && pair[0] is not null
25 {pair[0]}: type(pair[1]) == 'string' ? s(pair[1]) : pair[1]