Check out example codes for "css display offscreen". It will help you in understanding the concepts better.

Code Example 1

.sr-only {
position:absolute;
left:-10000px;
top:auto;
width:1px;
height:1px;
overflow:hidden;
}
<div class="sr-only">This text is hidden.</div>

Learn ReactJs, React Native from akashmittal.com