可以使用md-container-class
的造型 - CodePen
從docs:
標記
<div ng-controller="AppCtrl" ng-cloak="" ng-app="MyApp" layout-margin>
<md-input-container style="margin:50px">
<label>Bird</label>
<md-select ng-model="birdType" md-container-class="mySelect">
<md-option ng-repeat="bird in birds" value="{{bird}}">{{bird}}</md-option>
</md-select>
</md-input-container>
</div>
CSS
.mySelect md-select-menu {
background: yellow;
margin-left: 100px;
margin-top: 50px;
}
.mySelect md-content {
background: yellow;
}
.mySelect md-option:hover {
background: pink !important;
}