By default angular material md-select changes the focused bottom border colour and selected md-option colour to purple, and I've tried changing these through css but can't find the right selectors.
Which selectors do I need to use to change these?
To change border-bottom color after focus or selecting option use this
md-select:not([disabled]):focus .md-select-value{
border-bottom-color: #000;
}
Use !important
if necessary. Hope it will help.
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.