How to make the autoform labels into one line

on mobile, the autoform occupy much space, how to move these into one line. and hide the label names, let the label names show as placeholder. it should looks like this:

Autoform allow you to customize your own form which gives you more control

{{#autoform }} … {{/autoform}}

In it you can create labels, inputs, button, img, etc.