Jump to content

Photo
* * * * * 1 votes

Jak zmienić kolor czcionki placeholder w formularzu

kolor czcionka kolor czcionki placeholder form

1 reply to this topic
  • Please log in to reply
neo

    Użytkownik

  • 65 posts
    • :
2
Neutralna

Posted 22 December 2013 - 01:28

#1

Wiecie może jak skutecznie w CSS3 zmienić kolor czcionki w placeholder? Chociaż tak aby działało w najnowszych przeglądarkach.


  • 0

unbreak

    WT Elite

  • 1937 posts
    • Czas spędzony online: 27d 8h 43m 36s
506
Znakomita!
  • Location/home/unbreak

Posted 27 December 2013 - 10:58

#2

Wszystkie placeholdery:

::-webkit-input-placeholder { color:#f00; }
::-moz-placeholder { color:#f00; } /* firefox 19+ */
:-ms-input-placeholder { color:#f00; } /* ie */

Konkretnego pola:

#id-inputa::-webkit-input-placeholder { color:#f00; }
#id-inputa::-moz-placeholder { color:#f00; } /* firefox 19+ */
#id-inputa:-ms-input-placeholder { color:#f00; } /* ie */

  • 2

webDeveloper






Podone tematy Collapse


Also tagged with one or more of these keywords: kolor, czcionka, kolor czcionki, placeholder, form

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users