_Sean
_Sean
KPCKevin Powell - Community
Created by _Sean on 8/9/2023 in #front-end
How to style react web pages (beginner)
Hi guys, im trying to create my first React website but im unsure about the best practice for styling. For example, lets say I create a HomePage component, which is basically an empty component that has a separate NavBar, Body and Footer component. My question is, how would I arrange each of these elements within the HomePage component? Like, if I wanted the Body component to be three quarers of the way down on the HomePage component, do I use the Body as a selector in css or something within the HomePage style sheet? Im finding all this really confising in React, so any help is really appreciated
3 replies