Created
August 5, 2015 22:55
-
-
Save jdsteinbach/93662d949642642578ef 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
| // ---- | |
| // Sass (v3.4.14) | |
| // Compass (v1.0.3) | |
| // ---- | |
| $config: ( | |
| margin: 20px, | |
| padding: 10px 0, | |
| color: red | |
| ); | |
| .original { | |
| @each $k, $v in $config { | |
| #{$k}: $v; | |
| } | |
| } | |
| $config: map-merge($config, (margin: 25px)); | |
| .after-one-merge { | |
| @each $k, $v in $config { | |
| #{$k}: $v; | |
| } | |
| } | |
| $config: map-merge($config, (margin: 10px 30px, font: sans-serif)); | |
| .after-two-merges { | |
| @each $k, $v in $config { | |
| #{$k}: $v; | |
| } | |
| } |
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
| .original { | |
| margin: 20px; | |
| padding: 10px 0; | |
| color: red; } | |
| .after-one-merge { | |
| margin: 25px; | |
| padding: 10px 0; | |
| color: red; } | |
| .after-two-merges { | |
| margin: 10px 30px; | |
| padding: 10px 0; | |
| color: red; | |
| font: sans-serif; } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment