Top 500 CSS MCQ Interview Questions

Question 301: What does the display: none; property do?
Question 302: Which property is used to control the visibility of an element?
Question 303: What does flex-grow property do in a flex container?
Question 304: Which CSS property is used to change the font style of text?
Question 305: How can you hide an element while still taking up space?
Question 306: Which of the following is a CSS measurement unit?
Question 307: What is the function of align-items in a flex container?
Question 308: Which property is used to set the width of an element in CSS?
Question 309: What does text-align: justify; do?
Question 310: Which property is used to specify the font of an element?
Question 311: What is the purpose of grid-template-columns?
Question 312: How do you apply a shadow effect to a text?
Question 313: Which property is used to create space around an element’s border?
Question 314: What does the visibility: hidden; property do?
Question 315: Which CSS property is used to set the order of flex items?
Question 316: What is the default value of the flex-direction property?
Question 317: Which property allows you to control the transparency of an element?
Question 318: What does background-position: center; do?
Question 319: What does the cursor property do in CSS?
Question 320: How do you specify multiple background images for an element?
Question 321: What does overflow: hidden; do?
Question 322: Which property is used to create a gradient background in CSS?
Question 323: What is the purpose of the min-width property?
Question 324: Which property is used to control the spacing between words in a text?
Question 325: What does display: flex; do?
Question 326: Which property controls the spacing between grid items?
Question 327: What does the position: sticky; property do?
Question 328: Which of the following is NOT a valid CSS color value?
Question 329: What does display: table; do?
Question 330: What is the default value of the text-align property?
Question 331: Which property is used to control the size of an element?
Question 332: What does the float property do?
Question 333: What does the :hover pseudo-class do?
Question 334: Which CSS property is used to create a transition effect?
Question 335: What does text-decoration: underline; do?
Question 336: What is the purpose of the @keyframes rule?
Question 337: What does align-self do in a flex container?
Question 338: Which property is used to create a circular image?
Question 339: What does the background-size property do?
Question 340: What does display: inline-block; do?
Question 341: Which property is used to add a border to an element?
Question 342: What does the line-height property control?
Question 343: What is the purpose of the :focus pseudo-class?
Question 344: What does display: grid; do?
Question 345: Which property is used to set the text color of an element?
Question 346: What does object-fit: cover; do?
Question 347: Which property is used to change the list style of an unordered list?
Question 348: What does grid-template-rows define?
Question 349: Which property is used to set the maximum width of an element?
Question 350: What does border-collapse: collapse; do?

Showing 301-350 of 500 questions

Contact Tech Spakes Training