Top 500 CSS MCQ Interview Questions

Question 351: What does the z-index property control?
Question 352: Which CSS property controls the width of an element’s border?
Question 353: What is the default value of the position property?
Question 354: Which of the following is a valid CSS selector?
Question 355: What does the border-radius property do?
Question 356: What is the purpose of the opacity property?
Question 357: Which of the following is NOT a valid CSS unit?
Question 358: What does float: right; do?
Question 359: What does overflow: scroll; do?
Question 360: Which property is used to control the space between lines of text?
Question 361: What is the effect of using box-shadow in CSS?
Question 362: What does the position: absolute; property do?
Question 363: Which property is used to set the background color of an element?
Question 364: What does the display: none; property do?
Question 365: What is the function of the text-shadow property?
Question 366: Which of the following properties is used to create a responsive design?
Question 367: What does the text-indent property do?
Question 368: Which CSS property is used to specify the text style?
Question 369: What does align-items: center; do in a flex container?
Question 370: Which property controls the alignment of text in a block element?
Question 371: What does the background-repeat property do?
Question 372: Which CSS property is used to set the spacing inside an element?
Question 373: What does display: inline; do?
Question 374: What does the flex-direction property do in a flexbox container?
Question 375: What does position: fixed; do?
Question 376: Which property is used to create a line break in CSS?
Question 377: What is the purpose of the flex-wrap property?
Question 378: What does the background-attachment: fixed; property do?
Question 379: Which property is used to set the text decoration?
Question 380: What does the box-sizing: border-box; property do?
Question 381: What does display: flex; do?
Question 382: Which property is used to control the space between items in a grid layout?
Question 383: What does the font-family property do?
Question 384: Which CSS property is used to set the vertical alignment of an element?
Question 385: What is the effect of white-space: nowrap;?
Question 386: Which of the following can be used to create rounded corners on an element?
Question 387: What does the clip-path property do?
Question 388: Which property controls the text overflow in an element?
Question 389: What is the purpose of the @import rule in CSS?
Question 390: Which property is used to change the font size?
Question 391: What does the transition-duration property specify?
Question 392: What does the visibility: hidden; property do?
Question 393: Which property is used to set the width of an element?
Question 394: What does the transform property do?
Question 395: Which property controls the flow of content in a flex container?
Question 396: What does display: block; do?
Question 397: Which property is used to set the color of an element’s text?
Question 398: What does the filter property do?
Question 399: Which property is used to set the style of a list item?
Question 400: What does the grid-template-columns property do?

Showing 351-400 of 500 questions

Contact Tech Spakes Training