Created
July 23, 2014 18:49
-
-
Save jzelenkov/029671e5d8cd887ef5f0 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.3.10) | |
// Compass (v1.0.0.alpha.20) | |
// ---- | |
$types: text, color, date, datetime, datetime-local, email, month, number, range, search, tel, time, url, week; | |
$joined-selector: null; | |
@each $prop in $types { | |
$elem: "input[type='#{$prop}']"; | |
$joined-selector: $joined-selector, $elem; | |
} | |
#{$joined-selector} { | |
padding: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"input[type='text']", "input[type='color']", "input[type='date']", "input[type='datetime']", "input[type='datetime-local']", "input[type='email']", "input[type='month']", "input[type='number']", "input[type='range']", "input[type='search']", "input[type='tel']", "input[type='time']", "input[type='url']", "input[type='week']" { | |
padding: 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment