Last active
July 22, 2019 17:57
-
-
Save sheriffderek/bbc81e7d6bb94953076a9419364171ae to your computer and use it in GitHub Desktop.
Revisions
-
sheriffderek revised this gist
Jul 22, 2019 . 1 changed file with 11 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -39,6 +39,17 @@ body { @defmixin myMixin() { background: #256dbd; color: #f5f5f5; } body { @mixin myMixin(); } my-mixin() { background: #256dbd color: #f5f5f5 -
sheriffderek created this gist
Jul 22, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,49 @@ :root { --my-mixin: { background: #256dbd; color: #f5f5f5; } } body { @apply --my-mixin; } my-mixin() background: #256dbd color: #f5f5f5 body my-mixin() @mixin my-mixin { background: #256dbd; color: #f5f5f5; } body { @include my-mixin; } .my-mixin { background: #256dbd; color: #f5f5f5; } body { .my-mixin(); } my-mixin() { background: #256dbd color: #f5f5f5 } body { my-mixin() }