CSS Questions Topic Wise (1) (1)
CSS Questions Topic Wise (1) (1)
Introduction
1. What is CSS?
2. What are the advantages of CSS?
3. What are the disadvantages of CSS?
4. What is the current version of CSS?
5. What is the syntax for CSS?
6. In how many ways can we add CSS to our HTML file?
7. Which type of CSS holds the highest priority?
8. How can we add comments in CSS?
Selectors
9. What are CSS Selectors?
10. What is difference between id and class selector
11. What is pseudo-element Selector
12. What is Pseudo-class Selector
13. What is universal selector
Color property
pavan.s@pentagonspace.in 1
23. What is range of S and L in hsl?
24. What is S indicating in hsl?
25. What is L indicating in hsla?
Background property
26. What are CSS background? list the properties?
27. What is use of background property?
28. What is background-image property?
29. What is background-color property?
30. What is background-repeat property?
31. What is background-repeat property?
32. What is value for background-attachment property?
33. What are value for background-size property?
34. What are value for background-color property?
Border property
35. What is border property?
36. What are shorthand property for border property?
37. What is border-style property?
38. What is border-color property?
39. What is border width property?
40. Can I use border-width property alone?
41. Can I use border-color property alone?
42. Can I use border-style property alone?
43. Which side will be affected here?
44. Border-style: solid dotted
45. Which side will be affected here?
Border-style: solid dotted dashed
46. Which side will be affected here?
Border-color: red green
47. Which side will be affected here?
Border-width: 10px 20px 30px
48. What is border-radius property?
pavan.s@pentagonspace.in 2
49. What is shorthand for border-radius property?
50. Which side will be affected here?
Border-radius: 10px
51. Which side will be affected here?
Border-radius: 10px
52. Which side will be affected here?
Border-radius: 10px 12px
53. Which side will be affected here?
54. Border-radius: 10px 16px 2px
55. What is outline property?
56. What is difference between border and outline property?
57. What is outline-style property?
58. What are values of outline-style property?
59. What is outline color property?
60. What is outline width property?
61. What is outline offset property?
Box Model
pavan.s@pentagonspace.in 3
71. Which side will affect here?
margin:10px
72. Which side will affect here?
padding:10px 20px
73. Which side will affect here?
padding:10px 20px 12px 14px
Display Property
Font Property
pavan.s@pentagonspace.in 4
92. What is font variant property?
93. What are values of font variant property?
94. What is font-weight property?
95. What are values of font-eight property?
96. What is range of values for font-weight property?
Text Properties
pavan.s@pentagonspace.in 5
CSS Position property
CSS Gradient
pavan.s@pentagonspace.in 6
CSS Transform and Animation
pavan.s@pentagonspace.in 7