Check out example codes for "css change text size". It will help you in understanding the concepts better.

Code Example 1

p {
	font-size: 150% /*px, cm, in, etc.*/; 
}

Code Example 2

.class {
	font-size: 12px;
}

Code Example 3

// to scale font size in relation to its parent element
style="font-size: 2vw;"

Learn ReactJs, React Native from akashmittal.com