Top 51 CSS Interview Questions

Q1. What is CSS?


Q2. What is the Box model in CSS?


Q3. What is the origin of CSS?


Q4. Name some CSS frameworks?


Q5. What are the different variations of CSS?


Q6. What are the advantages of using CSS?


Q7. How can you integrate CSS on a web page?


Q8. What are the limitations of CSS?


Q9. What are the advantages of CSS?


Q10. What do you understand by the universal sector?


Q11. Give a few examples of modules found in the present version of CSS


Q12. What is Embedded Style Sheet?


Q13. How to include CSS in the webpage?


Q14. What are the different types of Selectors in CSS?


Q15. What is a CSS Preprocessor?


Q16. What is the difference between SASS vs SCSS?


Q17. What are the advantages of Embedded Style Sheets?


Q18. Tell us about the use of the ruleset?


Q19. Name some CSS style components?


Q20. What is VH/VW (viewport height/ viewport width) in CSS?


Q21. What is the difference between CSS2 and CSS3?


Q22. What is the use of CSS Opacity?


Q23. Difference between reset vs normalize CSS?


Q24. What is the use of % unit?


Q25. What is meant by RGB stream?


Q26. Which property controls the image scroll in the background?


Q27. What is the difference between inline, inline-block, and block?


Q28. What was the purpose of developing CSS?


Q29. Name the property for controlling the image repetition of the background?


Q30. What is the difference between a class and an ID?


Q31. What is z-index?


Q32. How to center block elements using CSS1?


Q33. Is it important to test the webpage in different browsers?


Q34. Name the property for controlling the image position in the background?


Q35. What are the benefits of CSS Sprites?


Q36. What are Pseudo elements and Pseudo classes?


Q37. Does margin-top or margin-bottom have an effect on inline elements?


Q38. What is RWD?


Q39. How can you target h1 and h4 with the same styling?


Q40. How to maintain the CSS specifications?


Q41. What property is used for changing the font face?


Q42. Name media types allowed by CSS?


Q43. How case-sensitive is CSS?


Q44. Why should we use float property in CSS?


Q45. What is the difference between logical tags and physical tags?


Q46. Name some font-related CSS attributes?


Q47. What is a declaration block?


Q48. What is the grid system?


Q49. What are the different ways to hide the element using CSS?


Q50. What is tweening?


Q51. What does !important mean in CSS?