Find answers, ask questions, and connect with our
community around the world.

Forums Forums Web Design Using CSS Grid with React (Question)

  • Using CSS Grid with React (Question)

    updated 2 years, 7 months ago 0 Member · 1 Post
  • BusinessMag

    February 13, 2020 at 2:32 pm

    So I’ve been working on a React app to add to my portfolio but I’m stuck on the styling part of things. I bootstrapped it with create-react-app and added Sass to style my page, I specifically want to use a grid layout for the overall layout. Now this might be a stupid question but how can I manage this with Grid (specifically the template rows and columns), components that are (obviously) reused and sometimes aren’t, which in turn breaks the layout due to the preset grid-templates on the overall container. In summary: I’m not sure how to add containers with varying grid-templates in combination with React-Router. Do I make a component with an empty div with the className of “container-dashboard” and another component with a container called “container-login” and wrap that around the components that are related to those? – by /hq/xNotYetRated – –

Viewing 1 of 1 replies
Reply to: BusinessMag
Your information:

Original Post
0 of 0 posts June 2018