You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adev/src/content/guide/components/styling.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,6 +97,9 @@ Shadow DOM in your application before enabling this option.
97
97
This mode disables all style encapsulation for the component. Any styles associated with the
98
98
component behave as global styles.
99
99
100
+
Note: In `Emulated` and `ShadowDom` modes, Angular doesn't 100% guarantee that your component's styles will always override styles coming from outside it.
101
+
It is assumed that these styles have the same specificity as your component's styles in case of collision.
102
+
100
103
## Defining styles in templates
101
104
102
105
You can use the `<style>` element in a component's template to define additional styles. The
0 commit comments