CSS Questions & Answers – Major Themes

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. mask
Explanation Syntax: mask: mask-attachment

Q 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-attachment
Explanation Syntax: mask-attachment: fixed | scroll

Q 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-direction
Explanation Syntax: marquee-direction: forward | reverse

Q 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-x
Explanation Syntax: overflow-style: auto | marquee-block | marquee-line

Q 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-color
Explanation Syntax scrollbar-face-color: colors

Q 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. opacity
Explanation Syntax: perspective: none | number

Q 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-origin
Explanation Syntax: mask-origin: border | content | padding

Q 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-offset
Explanation Syntax: outline-offset: length | inherit

Q 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-color
Explanation Syntax: scrollbar-arrow-color: color

Q 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

Show Answer Answer:-C. text-align-last
Explanation Syntax text-align-last: auto | center | justify | left | right | inherit

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

You cannot copy content of this page