CSS Interview Questions and Answers

CSS Interview Questions

  • 11. What is meant by RGB stream?
  • Answer.

    RGB represents colors in CSS. The three streams are namely Red, Green, and Blue. The intensity of colors is represented using numbers 0 to 256. This allows CSS to have a spectrum of visible colors.

  • 12. What was the purpose of developing CSS?
  • Answer.

    CSS was developed to define the visual appearances of websites. It allows developers to separate the structure and content of a website that was not possible before. 

  • 13. What is the difference between a class and an ID?
  • Answer.

    Class is a way of using HTML elements for styling. They are not unique and have multiple elements. Whereas ID is unique and it can be assigned to a single element. 

  • 14. What are the benefits of CSS Sprites?
  • Answer.

    With CSS sprites, loading multiple images is not an issue. 

    • Blinking is not seen. 
    • Advanced downloading of assets does not take place until needed. 

Register for Course !
ONLINE TRAINING FEATURES
  Live Training
 Real-Time Expert Trainers
 Industry Specific Scenarios
  Video Recording Sessions
  Resume Preparation Guidance
 Self- Placed
  Offline & Online Session
 availability + Real Time Concept
 MNC & Top IT Companies + Certificate