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
Hello, I'm trying to develop web components (custom tags) and I struggle with bootstrap css relying on parent root and html tags for setting app the font sizes vie rem units.
I've tried almost everything (special css for root with variables and special inlined css with styles just for the component) but still I'm not able to amend component font size without actually changing font size for all the parent / external website...
Is there any way how to force the generated css to ignore :root or override the base font-size to some non-rem value in the inline css?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I'm trying to develop web components (custom tags) and I struggle with bootstrap css relying on parent root and html tags for setting app the font sizes vie rem units.
I've tried almost everything (special css for root with variables and special inlined css with styles just for the component) but still I'm not able to amend component font size without actually changing font size for all the parent / external website...
Is there any way how to force the generated css to ignore :root or override the base font-size to some non-rem value in the inline css?
Beta Was this translation helpful? Give feedback.
All reactions