简体   繁体   中英

Change ui-select-match placeholder text styles

I have next element with placeholder :

<ui-select-match placeholder="My hint">
    {{$someItem}}
</ui-select-match>

and I need to change placeholder 's text style to bold , italic , etc. I am new in css, so not sure how to do it in a proper way.

You can use pseudo code but be aware this is not standardized. For more information have a look here .

 input::placeholder { color: darkorange; } 
 <input type="text" placeholder="test"> 

You can try this:

.ui-select-placeholder{
  color:pink;
}

Thanks!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM