Skip to content

Instantly share code, notes, and snippets.

@khadorkin
Forked from msweeney/selector-shorthand-less.less
Last active August 29, 2015 14:06
Show Gist options
  • Save khadorkin/c6d58b09de3f21a0b335 to your computer and use it in GitHub Desktop.
Save khadorkin/c6d58b09de3f21a0b335 to your computer and use it in GitHub Desktop.
@texty-inputs: ~'input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"]';
.pure-form {
@{texty-inputs} {
display: block;
}
}
// yields
.pure-form input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"] {
display: block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment