How to create adaptive UI?

Godot Version

3
I am creating web game, and want to make it for mobile too.
I tried to do something but it didnt work.