Nick Salloum callmenick.com

CSS only floated labels with :placeholder-shown pseudo class  ↦

Nick Salloum:

When we’re dealing with inputs, there’s a host of techniques to consider in order to give users the best experience. We need to make sure that we’re giving users necessary information at all points in time, and that means finding the balance between too much and too little.

Time and time again we’ve been told that having a proper label is a better UX. The thing is, having a bunch of labels on a form can start to look congested. This solution is a great one, and saves us from having to use JavaScript.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00