What is best way to assign styles for ionic app using pixels or percentage?

what is the best way to give styles in ionic app whether i should pixels or percentages.right now i have given pixels is there anyway to convert that scss files pixels into percentages.

Percentages are based on an arbitrary screen and screens can have different sizes. Therefore, you can’t just convert from pixels to percentage unless you are talking about a specific size screen. What I would do is test on different devices and use percentages to see if you can get something that looks natural on all devices.

Thanks for the reply.I will try this solution.