Check out example codes for "html css placeholder input font-size". It will help you in understanding the concepts better.
Code Example 1
Placeholder text will automatically inherit the font family and font size of the regular input text, but you may be in a situation where you want to change the placeholder text color. You can accomplish that with the ::placeholder pseudo-element.
Learn ReactJs, React Native from akashmittal.com