← Web & Frontend
#6 most askedVery commonMediumBox model

CSS specificity and the cascade

New to Box model? Learn it from scratch first
The Box Model β†’
🏒 Asked in real interviews
No reports yet. Were you asked this? Be the first to say where.
I was asked this

Two CSS rules target the same element. How does the browser decide which wins?

🎀 Answer it out loud, then check yourself

Say your answer as if the interviewer is listening (30–90 seconds). Then reveal what a strong answer covers and tick what you said.

    Answer out loud first, then compare.
    Want to rehearse it?
    Answer this to the AI interviewer and get a verdict β†’