Wednesday, April 18, 2018

When styling Angular Materials components...

You may need to style the selector tag itself of the thing you are handing ng-content into. To do so just call out to the tag in CSS as you might any other tag such as div or p without a leading dot or hashtag. (It's not a class or an id.) You will notice the selector tags appearing in the markup that survives Angular's interpretation.

No comments:

Post a Comment