| 1 |
$inputs-list: 'input[type="email"]', |
| 2 |
'input[type="number"]', |
| 3 |
'input[type="password"]', |
| 4 |
'input[type="search"]', |
| 5 |
'input[type="tel"]', |
| 6 |
'input[type="text"]', |
| 7 |
'input[type="url"]', |
| 8 |
|
| 9 |
// Webkit & Gecko may change the display of these in the future |
| 10 |
'input[type="color"]', |
| 11 |
'input[type="date"]', |
| 12 |
'input[type="datetime"]', |
| 13 |
'input[type="datetime-local"]', |
| 14 |
'input[type="month"]', |
| 15 |
'input[type="time"]', |
| 16 |
'input[type="week"]'; |
| 17 |
|
| 18 |
$unquoted-inputs-list: (); |
| 19 |
|
| 20 |
@each $input-type in $inputs-list { |
| 21 |
$unquoted-inputs-list: append($unquoted-inputs-list, unquote($input-type), comma); |
| 22 |
} |
| 23 |
|
| 24 |
div { |
| 25 |
content: $unquoted-inputs-list; |
| 26 |
content: append((), hello); |
| 27 |
content: length(()); |
| 28 |
} |