Changing font-family for placeholder

后端 未结 5 2146
你的背包
你的背包 2020-12-29 04:40

Is it posible for input field to have one font-family and it\'s placeholder other?

I have tried to change font-family for input\'s placeholder with already defined @

5条回答
  •  既然无缘
    2020-12-29 05:14

    Simply like this

    .mainLoginInput::placeholder{
         font-family: -Your font here-;
    }
    

提交回复
热议问题