Last active
January 3, 2019 19:44
-
-
Save jkyoutsey/563b0ac032c7a33be4630efca3fd1f95 to your computer and use it in GitHub Desktop.
CSS Grid Smart Component SCSS fixed
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
:host { | |
/* | |
* Ignore this smart-component wrapper, allowing us to position dumb child components | |
* in the global CSS Grid layout! | |
* Not supported in IE or Edge at all! | |
* https: //caniuse.com/#search=display%3A%20contents | |
*/ | |
display: contents; | |
} | |
app-a { | |
grid-area: blue; | |
} | |
app-b { | |
grid-area: green; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment