Expanding text box button using CSS3

Expanding text box button using CSS3

A search button by Sam D which becomes the search bar when clicked on, reducing the need for space and looking great the whole time. Supports virtually all browsers and touch, looks great, and Apple stole it for their recent redesign.

HTML Markup

 

The CSS

Demo | Download

See the Pen Expanding text box/button by Sam D (@llamaswill) on CodePen.

Sajal Sarkar

I'm a part time blogger from Dhaka, Bangladesh. Studying Electronics And Communication Engineering. Find me on google+

You may also like...

  • udayan

    how to left side expand