I’m trying to override third party component inline style. I followed the doc how can i override inline styles So, I used &[style] to override the inline style but this is not working. The third party component I use is CookieConsent Right now, my component is looking like that: I also tried how can i override styles with higher specificity
Tag: css-in-js
(CSS in JS) Is there any difference between “18px” vs 18 when specifying sizes
I’ve worked as React Native dev for a while, and am kinda new to web dev. Recently came across codebase where people specify sizes in different formats mixed together. (From what I’ve read so far, from the accessibility standpoint it’s often best to specify font sizes / margins with rem or em, and yet there’s a lot of people discussing