I am fairly new to Angular (and SPA/Web development in general) and trying to get Angular working together with the new CSS-Grid layout.
Chances are I am simply not importing/injecting a required module but in any case cannot get this to work without getting errors. I did search but could not really find any guide or tutorial for this (Angular and CSS-Grid). There is some information about the CSS-Grid of course but close to nothing related to Angular.
I tried for example the following (taken from here http://maddesigns.de/css-grid-layout-2764.html):
/* CSS */
.wrapper {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
}
<!-- HTML -->
<div class="wrapper">
<div class="box a">.a</div>
<div class="box b">.b</div>
<div class="box c">.c</div>
<div class="box d">.d</div>
</div>
That snippet works here ('Run Code snippet').
But if I create a new angular/CLI project and copy the code straight to app.component.css and app.component.html (probably a bit naive) then it is kind of working but in Firefox I am also getting the error "Error when processing the value 'display'. Declaration ignored." (translated manually from German to English)
This makes me believe I am missing something fundamentally I am not aware of.