How to set the color and font style of placeholder text

后端 未结 5 1192
没有蜡笔的小新
没有蜡笔的小新 2021-02-13 19:17

I want to set the color to the placeholder, change the font style to bold, and increase the size.

How can I achieve this? Should I give style to the placeholder, or is t

5条回答
  •  抹茶落季
    2021-02-13 19:52

    You can use the placeholder pseudo element And font-weight to make it bolder

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
        

    Select City

提交回复
热议问题