Sent on Jun 3, 2014

Making Sexier Form Items

Styling form items are one of the hardest things you can do in CSS. It’s even more difficult if you wanted to create amazing form fields that gives your visitor an incredible user experience.

You might have used placeholders as form labels to try to make your forms look nice as well. I did that on my contact page. But thats really horrible UX, because people lose context the moment they start entering something!

If you’re in touch with design or UX design, you may have seen this thing called the “Float Label Pattern” flying around the internet. Its a new convention that designers and developers are taking up to make their form items look sexy.

When left untouched, the form labels it looks just like placeholders. When visitors start typing, context appears somewhere near the field so they still know what the field was supposed to be.

Now that’s attractive.

Most of these solutions require Javascript. There are some CSS ones around but they’re not sexy enough.

I was fortunate to find one that’s looks amazing, and have converted it into a Sass mixin so you can use it with just a simple command!

Check it out here!

http://www.zell-weekeat.com/adaptive-placeholders/

Stay awesome,
Zell