docs: fix typos in the Style Precedence guide (#39560)

PR Close #39560
This commit is contained in:
Aristeidis Bampakos 2020-11-04 11:15:18 +02:00 committed by Misko Hevery
parent 1c193af65f
commit fc323d08d0
1 changed files with 2 additions and 2 deletions

View File

@ -1,8 +1,8 @@
# Style Precedence # Style Precedence
When there are multiple bindings to the same class name or style attribute, Angular uses a set of precedence rules to determine which classes or styles to apply to the element. When there are multiple bindings to the same class name or style attribute, Angular uses a set of precedence rules to determine which classes or styles to apply to the element.
These rules specify an order for which style- and class-related bindings have priority. These rules specify an order for which style and class related bindings have priority.
This styling precedence is as follows, from the most specific with the highest priority to least specific with the lowest priorty: This styling precedence is as follows, from the most specific with the highest priority to least specific with the lowest priority:
1. Template bindings are the most specific because they apply to the element directly and exclusively, so they have the highest precedence. 1. Template bindings are the most specific because they apply to the element directly and exclusively, so they have the highest precedence.
<table width="100%"> <table width="100%">