26 January 2015

Responsive 100% width input field with submit input on the same line

This is quite easy to achieve using ‘overflow: hidden’ on an element surrounding the text input and floating the submit input to the right ‘on top’ of the surrounding element.

HTML:

CSS: