Top 500 CSS MCQ Interview Questions

Question 251: What is the purpose of the z-index property in CSS?
Question 252: Which of the following is a valid CSS pseudo-element?
Question 253: How can you create a grid layout using CSS?
Question 254: What is the effect of opacity: 1; on an element?
Question 255: Which CSS property is used to control the flow of text in a container?
Question 256: Which CSS property is used to change the direction of text?
Question 257: What does display: inline-block; do?
Question 258: Which property is used to add space between elements in a grid layout?
Question 259: What does the overflow-x property do?
Question 260: Which of the following is NOT a CSS display value?
Question 261: What does the box-sizing property do?
Question 262: Which property is used to create a fixed position for an element?
Question 263: What is the purpose of text-transform property?
Question 264: How do you set a background color for an element?
Question 265: Which property defines the space between the border and the content of an element?
Question 266: What does position: relative; do?
Question 267: Which property allows you to create rounded corners?
Question 268: Which property is used to set the text size of an element?
Question 269: What does the float property do?
Question 270: How do you center a block element horizontally?
Question 271: Which CSS property is used to specify the type of list item marker?
Question 272: What does the visibility property control?
Question 273: Which of the following properties is used to change the spacing between lines of text?
Question 274: What does the display: grid; property do?
Question 275: How can you prevent text from wrapping in an element?
Question 276: Which property is used to control the vertical alignment of inline elements?
Question 277: What does background-size: cover; do?
Question 278: Which CSS property is used to create space outside an element?
Question 279: How do you set a minimum height for an element?
Question 280: What does text-decoration: underline; do?
Question 281: Which property is used to control the layout of flex items?
Question 282: Which value of the position property removes an element from the document flow?
Question 283: What does the filter property do in CSS?
Question 284: Which property is used to set the background image?
Question 285: Which of the following is a CSS framework?
Question 286: What is the purpose of the @media rule in CSS?
Question 287: How do you set a font to be bold?
Question 288: Which property controls the position of an element in a flex container?
Question 289: What does the :nth-child() pseudo-class do?
Question 290: Which of the following can be used to apply multiple classes to an element?
Question 291: What is the default value of the position property?
Question 292: Which CSS property is used to control the space between letters?
Question 293: How do you set a specific font family in CSS?
Question 294: What does background-repeat: no-repeat; do?
Question 295: Which property is used to create space between the border and content of an element?
Question 296: What is the purpose of the @font-face rule?
Question 297: Which of the following is NOT a valid value for the position property?
Question 298: What does overflow: auto; do?
Question 299: What does the aspect-ratio property do?
Question 300: How do you apply CSS styles inline?

Showing 251-300 of 500 questions

Contact Tech Spakes Training