Answers for "how to center object in react"

1

react place div at center of page

<div style={{display: 'flex',  justifyContent:'center', alignItems:'center', height: '100vh'}}>
    <h1> I am centered </h1>
</div>
Posted by: Guest on October-14-2020

Code answers related to "how to center object in react"

Code answers related to "Javascript"

Browse Popular Code Answers by Language