Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Placeholder text

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #39900
    shrinity
    Member

    Is it possible to separate placeholder text from the placeholder background. When I change the opacity property, the entire placeholder strip responds resulting in a transparent field. I want to alter the opacity of only the placeholder text. If I could do that, then I can try to use a brief animation on the text to bring some life into a required field which was ignored while filling my form.
    Thank you.

    #110260
    Paulie_D
    Member

    You could always use the ‘required’ attribute if people are missing that field.

    #110265
    shrinity
    Member

    yippeeee! color: rgba() is just what I was looking for! many thanks, jamy_za. I also stumbled upon a good article on the rgba() property at https://css-tricks.com/rgba-browser-support/

    Paulie_D, the ‘required’ attribute seems to be a better choice to indicate missed fields. Thank you for your input.

    #110299
    Kitty Giraudel
    Participant

    You could also use HSLa.

    “Paulie_D, the ‘required’ attribute seems to be a better choice to indicate missed fields. Thank you for your input.”
    -> I see what you did there. :P

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.