CSS Multiple Choice Questions & Answers (MCQs) focuses on “Major Themes”.
Q 1. _ property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape.
A. mask-box-image
B. mask
C. mask-attachment
D. mask-origin
Show Answer
Answer:-B. maskExplanation
Syntax: mask: mask-attachmentQ 2. _ property specifies whether the mask should scroll or stay fixed when the page is scrolled.
A. mask-image
B. mask-attachment
C. mask-box-image
D. mask-origin
Show Answer
Answer:-B. mask-attachmentExplanation
Syntax: mask-attachment: fixed | scrollQ 3. _ property specifies the direction in which a marquee should move.
A. marquee-style
B. marquee-play-count
C. marquee-direction
D. none of the mentioned
Show Answer
Answer:-C. marquee-directionExplanation
Syntax: marquee-direction: forward | reverseQ 4. Which of the following property allows a marquee to be used in the case of a text overflow?
A. overflow-style
B. opacity
C. perspective
D. overflow-x
Show Answer
Answer:-D. overflow-xExplanation
Syntax: overflow-style: auto | marquee-block | marquee-lineQ 5. Which of the following property defines a color for the face of a scroll bar, including arrow regions and the scroll box?
A. scrollbar-base-color
B. scrollbar-arrow-color
C. scrollbar-darkshadow-color
D. scrollbar-face-color
Show Answer
Answer:-D. scrollbar-face-colorExplanation
Syntax scrollbar-face-color: colorsQ 6. Which of the following property is used to give a 3-D sense of depth to an element?
A. overflow-style
B. opacity
C. overflow-x
D. perspective
Show Answer
Answer:-B. opacityExplanation
Syntax: perspective: none | numberQ 7. _ property specifies how the position of the mask should be calculated by setting the origin relative to different locations within an element’s box.
A. mask-image
B. mask-box-image
C. mask-attachment
D. mask-origin
Show Answer
Answer:-D. mask-originExplanation
Syntax: mask-origin: border | content | paddingQ 8. Which of the following property defines the offset from an element’s border and its outline?
A. outline-radius
B. opacity
C. outline-offset
D. overflow-style
Show Answer
Answer:-C. outline-offsetExplanation
Syntax: outline-offset: length | inheritQ 9. Which of the following property is used to set the color of the arrow icon within a scroll bar?
A. scrollbar-arrow-color
B. scrollbar -base-color
C. scrollbar-darkshadow-color
D. scrollbar-face-color
Show Answer
Answer:-A. scrollbar-arrow-colorExplanation
Syntax: scrollbar-arrow-color: colorQ 10. Which of the following property defines the text alignment rules on the alignment of the last line of an element?
A. text-justify
B. text-fill-color
C. text-align-last
D. none of the mentioned
Leave a Reply