Skip to content

Instantly share code, notes, and snippets.

@jkyoutsey
Last active January 3, 2019 19:44
Show Gist options
  • Save jkyoutsey/563b0ac032c7a33be4630efca3fd1f95 to your computer and use it in GitHub Desktop.
Save jkyoutsey/563b0ac032c7a33be4630efca3fd1f95 to your computer and use it in GitHub Desktop.
CSS Grid Smart Component SCSS fixed
: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