Check out example codes for "how to edit divs in css". It will help you in understanding the concepts better.

Code Example 1

# or . depends on class or id

Code Example 2

<div class="#">
	<p>Hello World</p>
/*put a dot in front of the name from your class*/
	display: block;
  	margin: auto;
  	width: 50%;

Learn ReactJs, React Native from