https://github.com/dannymcgee/view-encapsulation
Insiten L&L | Angular View Encapsulation & CSS Specificity
https://github.com/dannymcgee/view-encapsulation
Last synced: about 2 months ago
JSON representation
Insiten L&L | Angular View Encapsulation & CSS Specificity
- Host: GitHub
- URL: https://github.com/dannymcgee/view-encapsulation
- Owner: dannymcgee
- Created: 2020-09-15T18:37:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-15T18:51:29.000Z (over 4 years ago)
- Last Synced: 2025-03-06T06:51:52.095Z (2 months ago)
- Language: TypeScript
- Size: 146 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Angular View Encapsulation & CSS Specificity
This is a demo project created during an Insiten lunch & learn in order to answer the following questions:
- How does Angular's View Encapsulation work?
- Under what circumstances might it be preferable to disable View Encapsulation?
- How does View Encapsulation interact with CSS specificity?
- What difference does it make whether we use the component's host element or put all operative elements in the component's template?