0
鑑於這種HTML聲明標籤,輸入指令:如何更改ngTagsInput的邊框顏色是否帶有焦點?
<tags-input class="bootstrap" ng-model="selected">
<auto-complete source="getList($query)"></auto-complete>
</tags-input>
這個CSS不邊框變爲藍色:
.bootstrap .tags {
border: 1px solid blue;
}
這個CSS不邊框變爲紅色時ngTagsInput得到
.bootstrap .tags:focused {
border-color: red;
}
沒有我的回答不會爲你工作? – tanmay