Interview practice question
A button looks different across browsers
Frontend Engineering · HTML and CSS · Beginner
A button looks different in different browsers. How do you make it consistent?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Browser default styles differ.
- Reset/normalise button styles.
- Set font, padding, border, background explicitly.
- appearance property.
- Test in target browsers.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.