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

Code Example 1

<!-- Bootstrap 4 -->
<div class="d-none"></div>

<!-- Bootstrap 3 -->
<!-- <div class="hidden-{screen size}"></div> -->
<div class="hidden-md"></div>

Code Example 2

<div class="d-inline-block"></div>

Code Example 3

<div class="visible">...</div>
<div class="invisible">...</div>

Code Example 4

<span class="d-block p-2 bg-primary text-white">d-block</span>
<span class="d-block p-2 bg-dark text-white">d-block</span>

Learn ReactJs, React Native from akashmittal.com