Problem:
Standard ng serve only allows for access via localhost:4200.
Solution:
ng serve --host 192.168.0.xxx
Showing posts with label angular. Show all posts
Showing posts with label angular. Show all posts
Friday, November 24, 2017
Wednesday, November 22, 2017
Material Design in Angular, overriding specific css
Problem:
Angular Material Design button greys out as a hover effect. Standard css override failed.
Solution:
Adding '/deep/' to the css definition.
Source(s):
https://stackoverflow.com/questions/44342158/how-can-i-change-angular-material-button-background-color-on-hover-state
Angular Material Design button greys out as a hover effect. Standard css override failed.
Solution:
Adding '/deep/' to the css definition.
.header-container /deep/ .mat-button-focus-overlay{ background-color:transparent;}
Source(s):
https://stackoverflow.com/questions/44342158/how-can-i-change-angular-material-button-background-color-on-hover-state
Subscribe to:
Posts (Atom)