css interviews questions


 css interviews questions

  1. What are different ways to apply styles to a Web page?
  2. How do CSS precedence/cascading rules work? How does the !important directive affect the rules?
  3.  What is a class? What is an ID?
  4. What is Contextual Selector?
  5. What is Grouping?
  6. What are Child Selectors?
  7. What are Pseudo Classes?
  8. What are the advantages achieved by using CSS3?
  9. What are the basic categories of selectors in CSS3?
  10. How do you manage the complete site in center of the browser, which is completely using divs using the help of CSS2 or CSS3?
  11. What are the powerful features of CSS3?
  12. What are the properties associated with CSS3 multi-column feature?
  13. What is opacity in CSS3?
  14. What is the other name of combined selector in CSS3 and what is it used for?
  15. How is multiple background images handled in CSS3?
  16. What is wrapping in CSS3?
  17. How is multi-column feature used in CSS3?
  18. What is selectors in CSS3?
  19. What is the syntax of opacity in CSS3?
  20. What is the syntax of word wrap in CSS3?
  21. How is white-space property of CSS3 used?
  22. How flexibility is achieved more in CSS3?
  23. What are the values that can be taken by property white-space of CSS3?
  24. What is the notation of selectors in CSS3?
  25. What are the values that can be taken by text-wrap of CSS3?
  26. What are the advantages to users because of CSS3 modularized capability?
  27. What is the difference between CSS and CSS3
  28. List out CSS3 modules.
  29. What new futures added in CSS3 for Borders and how Browser Support it?
  30. How you will create Rounded Corners using CSS3?
  31. How we create border using images by CSS3?
  32. How you will create Box Shadow and text Shadow using CSS3?
  33. What is the CSS3 The background size Property?
  34. What is the word wrap / word wrapping in CSS3?
  35. What is the CSS3 animation?
  36. What is Opacity in CSS3?
  37. What is the other name of combined selector in CSS3 and what is it used for?
  38. How is multiple background images handled in CSS3?
  39. What is wrapping in CSS3?
  40. What is the syntax of opacity in CSS3?
  41. What is CSS rule ‘ruleset’?
  42. What are the various style sheets?
  43. What are style sheet properties?
  44. List various font attributes used in style sheet?
  45. What are the five possible values for “position”?
  46. What does isNaN function do?
  47.  What is a CSS File? It is used for what purpose?
  48.  How do I make a picture as a background on my web pages?
  49.  How do I add scrolling text to my page?
  50.  How do I make it so that someone can mail me by just clicking on text with subject?
  51.  How do I align pictures so that one may be higher or lower than the other?
  52.  What is external Style Sheet? How to link?
  53.  Is CSS case sensitive?

54.What are different ways to integrate a CSS into a Web page?
55.If background and colour should always be set together, why do they exist as separate properties?
56.Explain external Style Sheet? How would you link to it?
57.What are the advantages and disadvantages of External Style Sheets?
58.What are the advantages and disadvantages of Embedded Style Sheets?
59.What are the advantages and disadvantages of Inline Styles?
60.How can you eliminate the blue border around linked images on web page?
61.Difference between css1,css2 and css3?
62.What is Tweening in css?
63.Explain RWD.
65.What is the use of CSS sprites?
66.Explain in brief about the term CSS.

  1. What are the various style sheets?

68.What are style sheet properties
69.List various font attributes used in style sheet.
70.Explain inline, embedded and external style sheets.

  1. How font is measured in css?
  2. Difference between css and css-less.
  3. How do I center block-elements with CSS1?
  4. If background and color should always be set together, why do they exist as separate properties?
  5. What is class?
  6. What is grouping
  7. What is external Style Sheet? How to link?
  8. Is CSS case sensitive?
  9. Three selectors: h1, .warning and #footer, what they do ?
  10. What are basic rules for animation in css?
  11. What is CSS rule ‘ruleset’?
  12. How ‘Fixed’ Background used in css?
  13. What is embedded style? How to link?
  14. What is ID selector?
  15. What is contextual selector?
  16. How do I have a background image that isn’t tiled?
  17. Can our browsers give us style without css?
  18. Difference between less and sass?
  19. How can you set a minimum width for IE?
  20. Which browsers support CSS?
  21. How do I place text over an image?
  22. what CSS is, why not start coding?
  23. Why does my content shift to the left on some pages (in FF)?
  24. How do I combine multiple sheets into one?
  25. What is attribute selector?
  26. What is parent-child selector?
  27. How can I specify background images?
  28. How do I have a fixed (non-scrolling) background image?
  29. What are inline, block, parent, children, replaced and floating elements?
  30. Which set of definitions, HTML attributes or CSS properties, take precedence?
  31. How do I eliminate the blue border around linked images?
  32. why call the subtended angle a “pixel”, instead of something else (e.g. “subangle”)?
  33. Why was the decision made to make padding apply outside of the width of a ‘box’, rather than inside, which would seem to make more sense?
  34. How to use CSS to separate content and design ?
  35. Can CSS be used with other than HTML documents?
  36. Can Style Sheets and HTML stylistic elements be used in the same document?
  37. What are pseudo-classes?
  38. How do I design for backward compatibility using Style Sheets?
  39. As a reader, how can I make my browser recognize my own style sheet?
  40. How do I get rid of the gap under my image?
  41. What is ‘important’ declaration?
  42. How do I have a non-tiling (non-repeating) background image?
  43. I always wanted to have “included” substyles or “aliases” in my CSS definition, to save redundancy
  44. How do I quote font names in quoted values of the style attribute?
  45. Why is my external stylesheet not working ?
  46. What can be done with style sheets that can not be accomplished with regular HTML?
  47. How do I make my div 100% height?
  48. What is property in css?
  49. How do I write my style sheet so that it gracefully cascades with user’s personal sheet ?
  50. How can I make a page look the same in e.g. NS and MSIE ?
  51. Is there anything that CAN’T be replaced by Style Sheets?
  52. How to make text-links without underline?
  53. How do you make a tooltip that appears on hover?
  54. Why shouldn’t I use fixed sized fonts ?
  55. How do you make a whole div into a link?
  56. How do I have links of different colours on the same page?
  57. How to use CSS building a standards based HTML template?
  58. What is initial value?
  59. How frustrating is it to write a specification knowing that you’re at the browser vendors’ mercy?
  60. How far can CSS be taken beyond the web page–that is, have generalized or non-web specific features for such things as page formatting or type setting?
  61. How To Style Table Cells?
  62. How do I get my footer to sit at the bottom…?
  63. Can I attach more than one declaration to a selector?
  64. How do you target a certain browser?
  65. How does inheritance work?
  66. What is the percentage value in ‘font-size’ relative to?
  67. What is wrong with font-family: “Verdana, Arial, Helvetica”?
  68. How do I center my page?
  69. Must I quote property values?
  70. Do any WYSIWYG editors support the creation of Style Sheets? Any text-based HTML editors?
  71. Why can @import be at the top only?
  72. Colored Horizontal Rule in css?
  73. To what are partial URLs relative?
  74. How do I place two paragraphs next to each other?
  75. I want my page fonts to look the same everywhere as in…
  76. When is auto different from 0 in margin properties?
  77. How do I move the list bullet to the left/right?
  78. Why are there gaps above and below my form in IE?
  79. If one were to set Text and Link colors using a style sheet, should one also define the background colors for these elements as well?
  80. How do you override the underlining of hyperlinks?
  81. How do you show which page you’re on (in a menu)?
  82. How can I specify two different sets of link colors?
  83. How can I place multiple blocks next to each other?
  84. What is Extensible Stylesheet Language (XSL)?
  85. Which font names are available on all platforms ?