shadowRoot with tailwindcss #829
Answered
by
aklinker1
goodchengwang
asked this question in
Q&A
-
Using shadowRoot to create content scripts ui If the font size of the parent element's html is set to 12px, Tailwind's 1rem will be 12px instead of 16px. |
Beta Was this translation helpful? Give feedback.
Answered by
aklinker1
Jul 20, 2024
Replies: 1 comment 1 reply
-
Yes. I use this post-css plugin to convert from rem to px for my extensions: https://www.npmjs.com/package/postcss-pxtorem |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
goodchengwang
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. I use this post-css plugin to convert from rem to px for my extensions: https://www.npmjs.com/package/postcss-pxtorem