Top 500 CSS MCQ Interview Questions

Question 51: Which CSS property is used to change the color of a link when hovered over?
Question 52: Which property is used to control the space between letters in a text?
Question 53: Which of the following is not a valid length unit in CSS?
Question 54: How do you make a flex container wrap its items to the next line in CSS?
Question 55: Which property is used to apply a transformation to an element?
Question 56: Which of the following is used to specify the space between an element's content and its border?
Question 57: What CSS value will prevent an element from being resizable in a flex container?
Question 58: How do you make a box’s border invisible while keeping its layout properties intact?
Question 59: Which CSS property is used to specify the transparency of an element?
Question 60: How do you make the first letter of a paragraph capitalized in CSS?
Question 61: Which property is used to set the alignment of items along the main axis in Flexbox?
Question 62: Which of the following allows you to delay a CSS animation?
Question 63: Which property is used to define the number of columns in a grid layout?
Question 64: How can you apply different styles to the same element depending on the screen size?
Question 65: What is the purpose of the z-index property in CSS?
Question 66: Which property is used to clip an element's content to a specified rectangular area?
Question 67: What is the default value of the flex-wrap property?
Question 68: How do you center a block-level element horizontally?
Question 69: Which CSS property is used to set the speed curve of an animation?
Question 70: Which CSS property is used to specify the stack order of elements?
Question 71: Which property is used to define the aspect ratio of a responsive element?
Question 72: How do you create space between grid items in a grid layout?
Question 73: How do you ensure that an element always stays at the bottom of the page, regardless of scrolling?
Question 74: Which CSS property is used to change the alignment of flex items along the cross axis?
Question 75: What is the difference between padding and margin in CSS?
Question 76: What is the default value of the position property in CSS?
Question 77: Which CSS property is used to specify the space between lines of text?
Question 78: Which CSS property is used to add shadow to text?
Question 79: Which CSS pseudo-class targets the first child element?
Question 80: How can you make an element transparent in CSS?
Question 81: Which CSS property is used to control the order in which flex items appear within a flex container?
Question 82: What does the float property do in CSS?
Question 83: Which CSS property controls the visibility of an element but keeps its space in the layout?
Question 84: How do you center text within a block element?
Question 85: Which CSS property controls the background color of an element?
Question 86: How do you prevent an element from being resized in CSS?
Question 87: Which CSS property is used to specify the distance between an element's border and the edge of the browser window?
Question 88: What does the box-shadow property do in CSS?
Question 89: Which value of the display property is used to make an element disappear from the layout but still be accessible by screen readers?
Question 90: Which CSS property allows you to apply rounded corners to an element?
Question 91: What is the purpose of the transition property in CSS?
Question 92: How do you make a background image repeat vertically only?
Question 93: Which of the following is the default value of the overflow property?
Question 94: Which of the following CSS properties can be used to create a drop shadow effect?
Question 95: Which property is used to specify a stack order for overlapping elements?
Question 96: Which of the following CSS properties is used to control the flow of text in relation to floated elements?
Question 97: Which of the following CSS pseudo-classes is used to apply styles to an element when it is being activated (e.g., when clicked)?
Question 98: What is the purpose of the max-width property in CSS?
Question 99: Which CSS property is used to change the shape of a cursor?
Question 100: Which property is used to align text inside a block element?

Showing 51-100 of 500 questions

Contact Tech Spakes Training