.right_container { width: 100%; height: 100%; /* ... */ }
This right here tells me you haven't completely given your soul to the grid 😆
You don't need to (nor should you 😖) set the width and height on the children; the grid should set a default for how the elements are aligned and stretched within.
This is how I'd do it instead:
.wrapper { display: grid; place-items: stretch; place-items: stretch; /* ... */ }
😉
That's a great change ! Thanks a lot for enriching my knowledge as well...
Happy Coding 🙏🏻
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This right here tells me you haven't completely given your soul to the grid 😆
You don't need to (nor should you 😖) set the width and height on the children; the grid should set a default for how the elements are aligned and stretched within.
This is how I'd do it instead:
😉
That's a great change ! Thanks a lot for enriching my knowledge as well...
Happy Coding 🙏🏻