How to controll font size and text field in tab?

Hello Sir,

I have developed a app. i have used px in font-size and input field. When i run on tab it font-size and input field does not increase.

How to make auto-fit font-size and input field small upto tablet?

Please help me…