How to choose right name for 2 same classes? [closed]

You can refer to any HTML attribute to select individual elements:

input.zu-input-text[name="name"] {
     /* CSS for "Name" text input */
}

input.zu-input-text[name="email"] {
     /* CSS for "E-Mail" text input */
}

Theoretically, you could do that with placeholder property too.

Leave a Comment