Answers for "how to center the div in react js"

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 the div in react js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language