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

Code Example 1

/* Keyword values */
resize: none;
resize: both;
resize: horizontal;
resize: vertical;
resize: block;
resize: inline;

/* Global values */
resize: inherit;
resize: initial;
resize: unset;

Learn ReactJs, React Native from akashmittal.com