CSS · Cascade · Mid-Level · Debugging
How do inline styles interact with classes?
Short Interview Answer
Inline declarations have high specificity; only !important in stylesheets can override non-important inline.
Detailed Explanation
Prefer classes for maintainability. Inline for true one-offs or framework style bindings carefully.