1Mediumgeneralโฑ 45sWhat is the difference between `em` and `rem` units in CSS?๐โผAThey are identicalBem is relative to the font-size of its parent element; rem is relative to the font-size of the root (html) elementCrem is a fixed pixel valueDem can only be used for margins
2Mediumgeneralโฑ 45sHow does CSS specificity determine which rule wins when multiple selectors target the same element?๐โผAThe last rule declared in the file always wins regardless of selector typeBSpecificity is calculated from the combination of ID, class/attribute/pseudo-class, and element/pseudo-element selectors, with higher-specificity selectors overriding lower ones, and equal specificity falling back to source orderCOnly inline styles are ever consideredDUniversal selectors (*) always have the highest specificity