0

I'm trying to use :focus on md-autocomplete to change the background color when the user press Keydown or Keyup.

It's work fine with :hover for the mouse :

md-autocomplete-parent-scope:hover{ color: rgb(63, 92, 154); }

but not with :focus.

Thanks.

4

4 に答える 4

0

私はそれを行う方法を見つけました。それが良い解決策かどうかはわかりませんが、うまくいきます。

.ng-scope .selected{
color: rgb(63, 92, 154);

}

于 2016-11-25T15:52:35.723 に答える