Are we obligated to always add grid-container-nested class into grid container which is nested in some grid-container ancestor? Grid container nested allow us to get rid of side whitespaces for first and last child.
If by design we always want to add -nested suffix, then we can get rid of that class and do it by CSS selector instead of this we can make this such way:
.grid-container .grid-container {.
Above means that this is nested.
Are we obligated to always add
grid-container-nested
class into grid container which is nested in some grid-container ancestor? Grid container nested allow us to get rid of side whitespaces for first and last child.If by design we always want to add
-nested
suffix, then we can get rid of that class and do it by CSS selector instead of this we can make this such way:.grid-container .grid-container {
. Above means that this is nested.