A CodePen by A Non Ymous. Forms 2 - Fully responsive - * HTML mark-up you can read from HAML source or by inspecting the code.

* Buttons are not styled, just positioned. Styling for buttons you can find in my othe pen named Buttons or Buttons 2.

* You can use auto-responsive for adjusting to screen-size or you can force adaptation by adding classes '.labels _ top' or '.messages _ bottom' to html form element.