Created
December 30, 2015 02:00
-
-
Save conwayanderson/10376a12debed6d8ef4e to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
This file contains hidden or 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
| // ---- | |
| // libsass (v3.3.2) | |
| // ---- | |
| $properties: ( | |
| margin: 'm', | |
| padding: 'p' | |
| ); | |
| $directions: ( | |
| left: 'l', | |
| right: 'r', | |
| bottom: 'b', | |
| top: 't', | |
| ); | |
| $sizes: ( | |
| xxl: 96px, | |
| xl: 48px, | |
| md: 24px, | |
| sm: 16px, | |
| xs: 12px, | |
| xxs: 8px, | |
| none: 0px | |
| ); | |
| @each $property, $property-abbreviation in $properties { | |
| @each $size, $unit in $sizes { | |
| .#{$property-abbreviation}-#{$size} { | |
| #{$property}: $unit; | |
| } | |
| } | |
| } | |
| @each $property, $property-abbreviation in $properties { | |
| @each $direction, $direction-abbreviation in $directions { | |
| @each $size, $unit in $sizes { | |
| .#{$property-abbreviation}#{$direction-abbreviation}-#{$size} { | |
| #{$property}-#{$direction}: $unit; | |
| } | |
| } | |
| } | |
| } |
This file contains hidden or 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
| .m-xxl { | |
| margin: 96px; | |
| } | |
| .m-xl { | |
| margin: 48px; | |
| } | |
| .m-md { | |
| margin: 24px; | |
| } | |
| .m-sm { | |
| margin: 16px; | |
| } | |
| .m-xs { | |
| margin: 12px; | |
| } | |
| .m-xxs { | |
| margin: 8px; | |
| } | |
| .m-none { | |
| margin: 0px; | |
| } | |
| .p-xxl { | |
| padding: 96px; | |
| } | |
| .p-xl { | |
| padding: 48px; | |
| } | |
| .p-md { | |
| padding: 24px; | |
| } | |
| .p-sm { | |
| padding: 16px; | |
| } | |
| .p-xs { | |
| padding: 12px; | |
| } | |
| .p-xxs { | |
| padding: 8px; | |
| } | |
| .p-none { | |
| padding: 0px; | |
| } | |
| .ml-xxl { | |
| margin-left: 96px; | |
| } | |
| .ml-xl { | |
| margin-left: 48px; | |
| } | |
| .ml-md { | |
| margin-left: 24px; | |
| } | |
| .ml-sm { | |
| margin-left: 16px; | |
| } | |
| .ml-xs { | |
| margin-left: 12px; | |
| } | |
| .ml-xxs { | |
| margin-left: 8px; | |
| } | |
| .ml-none { | |
| margin-left: 0px; | |
| } | |
| .mr-xxl { | |
| margin-right: 96px; | |
| } | |
| .mr-xl { | |
| margin-right: 48px; | |
| } | |
| .mr-md { | |
| margin-right: 24px; | |
| } | |
| .mr-sm { | |
| margin-right: 16px; | |
| } | |
| .mr-xs { | |
| margin-right: 12px; | |
| } | |
| .mr-xxs { | |
| margin-right: 8px; | |
| } | |
| .mr-none { | |
| margin-right: 0px; | |
| } | |
| .mb-xxl { | |
| margin-bottom: 96px; | |
| } | |
| .mb-xl { | |
| margin-bottom: 48px; | |
| } | |
| .mb-md { | |
| margin-bottom: 24px; | |
| } | |
| .mb-sm { | |
| margin-bottom: 16px; | |
| } | |
| .mb-xs { | |
| margin-bottom: 12px; | |
| } | |
| .mb-xxs { | |
| margin-bottom: 8px; | |
| } | |
| .mb-none { | |
| margin-bottom: 0px; | |
| } | |
| .mt-xxl { | |
| margin-top: 96px; | |
| } | |
| .mt-xl { | |
| margin-top: 48px; | |
| } | |
| .mt-md { | |
| margin-top: 24px; | |
| } | |
| .mt-sm { | |
| margin-top: 16px; | |
| } | |
| .mt-xs { | |
| margin-top: 12px; | |
| } | |
| .mt-xxs { | |
| margin-top: 8px; | |
| } | |
| .mt-none { | |
| margin-top: 0px; | |
| } | |
| .pl-xxl { | |
| padding-left: 96px; | |
| } | |
| .pl-xl { | |
| padding-left: 48px; | |
| } | |
| .pl-md { | |
| padding-left: 24px; | |
| } | |
| .pl-sm { | |
| padding-left: 16px; | |
| } | |
| .pl-xs { | |
| padding-left: 12px; | |
| } | |
| .pl-xxs { | |
| padding-left: 8px; | |
| } | |
| .pl-none { | |
| padding-left: 0px; | |
| } | |
| .pr-xxl { | |
| padding-right: 96px; | |
| } | |
| .pr-xl { | |
| padding-right: 48px; | |
| } | |
| .pr-md { | |
| padding-right: 24px; | |
| } | |
| .pr-sm { | |
| padding-right: 16px; | |
| } | |
| .pr-xs { | |
| padding-right: 12px; | |
| } | |
| .pr-xxs { | |
| padding-right: 8px; | |
| } | |
| .pr-none { | |
| padding-right: 0px; | |
| } | |
| .pb-xxl { | |
| padding-bottom: 96px; | |
| } | |
| .pb-xl { | |
| padding-bottom: 48px; | |
| } | |
| .pb-md { | |
| padding-bottom: 24px; | |
| } | |
| .pb-sm { | |
| padding-bottom: 16px; | |
| } | |
| .pb-xs { | |
| padding-bottom: 12px; | |
| } | |
| .pb-xxs { | |
| padding-bottom: 8px; | |
| } | |
| .pb-none { | |
| padding-bottom: 0px; | |
| } | |
| .pt-xxl { | |
| padding-top: 96px; | |
| } | |
| .pt-xl { | |
| padding-top: 48px; | |
| } | |
| .pt-md { | |
| padding-top: 24px; | |
| } | |
| .pt-sm { | |
| padding-top: 16px; | |
| } | |
| .pt-xs { | |
| padding-top: 12px; | |
| } | |
| .pt-xxs { | |
| padding-top: 8px; | |
| } | |
| .pt-none { | |
| padding-top: 0px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment