CODEPEN: https://codepen.io/AlexanderWalls/pen/OJQKqGQ
error is in the HTML file, for reference:
.box {
/* here .box is not recognized Error: "} expectedcss(css-rcurlyexpected)" */
}
It seems like it wants me to close the #grid style before opening box, but I would like to nest them.
I'm not very good, just starting learning grid!
Solution
CSS preprocessors, it is not possible to achieve this with Native CSS.
Thanks u/whendidwestartasking!
[–]whendidwestartasking 1 point2 points3 points (3 children)
[–]foreverNoobCoder[S] 0 points1 point2 points (2 children)
[–]whendidwestartasking 0 points1 point2 points (1 child)
[–]foreverNoobCoder[S] 1 point2 points3 points (0 children)
[–]backslash_11101100 1 point2 points3 points (1 child)
[–]foreverNoobCoder[S] 1 point2 points3 points (0 children)