mirror of
https://github.com/picocss/pico.git
synced 2025-04-25 10:46:14 -04:00
Support web components/shadow DOM.
Add :host to all uses of :root
This commit is contained in:
parent
6dc6489e69
commit
02c9fb69da
6 changed files with 14 additions and 7 deletions
|
@ -34,7 +34,8 @@
|
|||
// 3. Use a 4-space tab width in all browsers (opinionated)
|
||||
// 4. Remove the grey highlight on links in iOS (opinionated)
|
||||
// 5. Prevent adjustments of font size after orientation changes in iOS
|
||||
:where(:root) {
|
||||
:where(:root),
|
||||
:where(:host) {
|
||||
-webkit-tap-highlight-color: transparent; // 4
|
||||
-webkit-text-size-adjust: 100%; // 5
|
||||
text-size-adjust: 100%; // 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue