Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (31 sloc) 1.32 KB
// Generate a variable ($all-text-inputs) with a list of all html5
// input types that have a text-based input, excluding textarea.
$inputs-list: 'input[type="email"]',
// Webkit & Gecko may change the display of these in the future
$unquoted-inputs-list: ();
@each $input-type in $inputs-list {
$unquoted-inputs-list: append($unquoted-inputs-list, unquote($input-type), comma);
$all-text-inputs: $unquoted-inputs-list;
// You must use interpolation on the variable:
// #{$all-text-inputs}
// #{$all-text-inputs}, textarea {
// border: 1px solid red;
// }
Jump to Line
Something went wrong with that request. Please try again.