Connect with us


CSS interview questions

CSS interview questions

css test

CSS interview questions

CSS interview 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?
  12. What are the powerful features of CSS3?
  13. What are the properties associated with CSS3 multi-column feature?
  14. What is opacity in CSS3?
  15. What is the other name of combined selector in CSS3 and what is it used for?
  16. How is multiple background images handled in CSS3?
  17. What is wrapping in CSS3?
  18. How is multi-column feature used in CSS3?
  19. What is selectors in CSS3?
  20. What is the syntax of opacity in CSS3?
  21. What is the syntax of word wrap in CSS3?
  22. How is white-space property of CSS3 used?
  23. How flexibility is achieved more in CSS3?
  24. What are the values that can be taken by property white-space of CSS3?
  25. What is the notation of selectors in CSS3?
  26. What are the values that can be taken by text-wrap of CSS3?
  27. What are the advantages to users because of CSS3 modularized capability?
  28.  What is the difference between CSS and CSS3?
  29.  List out CSS3 modules. 
  30. What new futures added in CSS3 for Borders and how Browser Support it 
  31.  How you will create Rounded Corners using CSS3? 
  32.  How we create border using images by CSS3? 
  33.  How you will create Box Shadow and text Shadow using CSS3?
  34.  What is the CSS3 The background size Property? 
  35.  What is the word wrap / word wrapping in CSS3?
  36.  What is the CSS3 animation? 
  37.  What is Opacity in CSS3? 
  38.  What is the other name of combined selector in CSS3 and what is it used for? 
  39.  How is multiple background images handled in CSS3? 
  40.  What is wrapping in CSS3?
  41.  What is the syntax of opacity in CSS3? 
  42.  What is CSS rule ‘ruleset’?  
  43.  What are the various style sheets?   
  44.  What are style sheet properties?
  45.  List various font attributes used in style sheet?
  46.  What are the five possible values for “position”?  
  47.  What does isNaN function do? 
  48.  What is a CSS File? It is used for what purpose 
  49.  How do I make a picture as a background on my web pages?
  50.   How do I add scrolling text to my page? 
  51.  How do I make it so that someone can mail me by just clicking on text with subject? 
  52.  How do I align pictures so that one may be higher or lower than the other?
  53.   What is external Style Sheet? How to link? 
  54.  Is CSS case sensitive? 
  55. . What are different ways to integrate a CSS into a Web page? 

  56.  If background and colour should always be set together, why do they exist as separate properties?

  57.   Explain external Style Sheet? How would you link to it?
  58.  What are the advantages and disadvantages of External Style Sheets?

  59.  What are the advantages and disadvantages of Embedded Style Sheets?

  60.  What are the advantages and disadvantages of Inline Styles?

  61.  How can you eliminate the blue border around linked images on web page?

  62. What is CSS selector?

  64. 9. What is Tweening?

  65. 10. Explain RWD.

  66. 11. What is the use of CSS sprites?

  67. 1. Explain in brief about the term CSS.
  69. 2. What are the various style sheets?
  70. 3. What are style sheet properties?
  72. 4. List various font attributes used in style sheet.
  73. 5. Explain inline, embedded and external style sheets.
  74. What is CSS?
  75. What are Cascading Style Sheets?
  76. How do I center block-elements with CSS1?
  77. If background and color should always be set together, why do they exist as separate properties?
  78. What is class?
  79. What is grouping
  80. What is external Style Sheet? How to link?
  81. Is CSS case sensitive?
  82. Three selectors: h1, .warning and #footer, what they do ?
  83. What are Style Sheets?
  84. What is CSS rule ‘ruleset’?
  85. ‘Fixed’ Background?
  86. What is embedded style? How to link?
  87. What is ID selector?
  88. What is contextual selector?
  89. How do I have a background image that isn’t tiled?
  90. What does \ABCD (and \ABCDE) mean?
  91. Why do style sheets exist?
  92. What are the advantages/disadvantages of the various style methods?
  93. What is inline style? How to link?
  94. What is imported Style Sheet? How to link?
  95. What is a Style Sheet?
  96. What is alternate Style Sheet? How to link?
  97. How can you set a minimum width for IE?
  98. Which browsers support CSS?
  99. How do I place text over an image?
  100. what CSS is, why not start coding??
  101. Why does my content shift to the left on some pages (in FF)?
  102. How do I combine multiple sheets into one?
  103. What is attribute selector?
  104. What is parent-child selector?
  105. How can I specify background images?
  106. How do I have a fixed (non-scrolling) background image?
  107. What are inline, block, parent, children, replaced and floating elements?
  108. Which set of definitions, HTML attributes or CSS properties, take precedence?
  109. How do I eliminate the blue border around linked images?
  110. why call the subtended angle a “pixel”, instead of something else (e.g. “subangle”)?
  111. 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?
  112. How to use CSS to separate content and design ?
  113. Can CSS be used with other than HTML documents?
  114. Can Style Sheets and HTML stylistic elements be used in the same document?
  115. What are pseudo-classes?
  116. How do I design for backward compatibility using Style Sheets?
  117. As a reader, how can I make my browser recognize my own style sheet?
  118. How do I get rid of the gap under my image?
  119. Why use Style Sheets?
  120. What does the “Cascading” in “Cascading Style Sheets” mean?
  121. What is CSS rule ‘at-rule’?
  122. What is selector?
  123. What is CLASS selector?
  124. What is CSS declaration?
  125. What is ‘important’ declaration?
  126. What is cascade?
  127. Are Style Sheets case sensitive?
  128. How do I have a non-tiling (non-repeating) background image?
  129. CSS is clearly very useful for separating style from content …
  130. I always wanted to have “included” substyles or “aliases” in my CSS definition, to save redundancy …
  131. Styles not showing?
  132. How do I quote font names in quoted values of the style attribute?
  133. Why is my external stylesheet not working ?
  134. What can be done with style sheets that can not be accomplished with regular HTML?
  135. How do I make my div 100% height?
  136. What is property?
  137. How do I write my style sheet so that it gracefully cascades with user’s personal sheet ?
  138. What are pseudo-elements?
  139. As a developer who works with CSS every day …
  140. How can I make a page look the same in e.g. NS and MSIE ?
  141. Is there anything that CAN’T be replaced by Style Sheets?
  142. Can I include comments in my Style Sheet?
  143. What is the difference between ID and CLASS?
  144. How to make text-links without underline?
  145. How do you make a tooltip that appears on hover?
  146. Which characters can CSS-names contain?
  147. What is cascading order?
  148. What browsers support style sheets? To what extent?
  149. Why shouldn’t I use fixed sized fonts ?
  150. How do you make a whole div into a link?
  151. How do I have links of different colours on the same page?
  152. What is shorthand property?
  153. How to use CSS building a standards based HTML template?
  154. What is value?
  155. What is initial value?
  156. How frustrating is it to write a specification knowing that you’re at the browser vendors’ mercy?
  157. 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?
  158. How To Style Table Cells?
  159. How To Style Forms?
  160. How do I get my footer to sit at the bottom…?
  161. Can I attach more than one declaration to a selector?
  162. Border around a table?
  163. How do you target a certain browser?
  164. How does inheritance work?
  165. What is the percentage value in ‘font-size’ relative to?
  166. What is wrong with font-family: “Verdana, Arial, Helvetica”?
  167. How do I centre my page?
  168. Must I quote property values?
  169. Do any WYSIWYG editors support the creation of Style Sheets? Any text-based HTML editors?
  170. Which style specification method should be used? Why?
  171. Justified Text?
  172. Why can @import be at the top only?
  173. Colored Horizontal Rule?
  174. Do URL’s have quotes or not?
  175. To what are partial URLs relative?
  176. What’s the difference between ‘class’ and ‘id’?
  177. I made a 10px-high div, but IE makes it 20px high…
  178. How do I place two paragraphs next to each other?
  179. Can you use someone else’s Style Sheet without permission?
  180. I want my page fonts to look the same everywhere as in…
  181. When is auto different from 0 in margin properties?
  182. How do I move the list bullet to the left/right?
  183. How does a simple CSS style rule look ?
  184. Why are there gaps above and below my form in IE?
  185. 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?
  186. How do you override the underlining of hyperlinks?
  187. How do you show which page you’re on (in a menu)?
  188. How can I specify two different sets of link colors?
  189. How can I place multiple blocks next to each other?
  190. Document Style Semantics and Specification Language (DSSSL)?
  191. What is Extensible Stylesheet Language (XSL)?
  192. Which font names are available on all platforms ?
  193. Why does Netscape lose my styles ?
  194. Why is it my ‘:hover’ declaration for links does not work ?



Continue Reading
You may also like...

More in css test


To Top