Check out example codes for "how to add a left margin in css". It will help you in understanding the concepts better.
Code Example 1
<html>
<head>
</head>
<body>
<p style = "margin-left: 15px; border:1px solid black;">
This is a paragraph with a specified left margin
</p>
<p style = "margin-left: 5%; border:1px solid black;">
This is another paragraph with a specified top margin in percent
</p>
</body>
</html>
Learn ReactJs, React Native from akashmittal.com