How to design flexible UI in ionic?

How to place the UI components exactly where ever we want. like a button to be put at certain (x,y) on the screen.
How to align components horizontally?
How to place one component, relative to another component?

The scss file that belongs to the component of interest

I suggest you to learn HTML and CSS.
After that try searching online for a certain layout if you couldn’t achieve it.