Check out example codes for "css if screen size less than". It will help you in understanding the concepts better.

Code Example 1

@media (max-width:960px) { css... } //nothing with screen size bigger than 960px

@media (min-width:960px) { css... } //nothing with screen size smaller than 960px

Learn ReactJs, React Native from akashmittal.com