Check out example codes for "css media query for mobile and hide a row wordpress". It will help you in understanding the concepts better.

Code Example 1

@media screen and (max-width: 800px) {
    #site-header {
        display: none;
    }
}

Learn ReactJs, React Native from akashmittal.com