This set of CSS Multiple Choice Questions & Answers (MCQs) focuses on “Major Themes”.
1. _____________ 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
View Answer
Explanation: Syntax:
marquee-direction: forward | reverse
2. ___________ property defines a mask to be used as a box’s overlay in order to clip the box to a complex shape.
a) mask
b) mask-box-image
c) mask-attachment
d) mask-origin
View Answer
Explanation: Syntax:
mask: mask-attachment
3. _____________ property specifies whether the mask should scroll or stay fixed when the page is scrolled.
a) mask-image
b) mask-box-image
c) mask-attachment
d) mask-origin
View Answer
Explanation: Syntax:
mask-attachment: fixed | scroll
4. ___________ 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
View Answer
Explanation: Syntax:
mask-origin: border | content | padding
5. 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
View Answer
Explanation: Syntax:
outline-offset: length | inherit
6. Which of the following property allows a marquee to be used in the case of a text overflow?
a) overflow-style
b) opacity
c) overflow-x
d) perspective
View Answer
Explanation: Syntax:
overflow-style: auto | marquee-block | marquee-line
7. 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
View Answer
Explanation: Syntax
scrollbar-face-color: colors
8. 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
View Answer
Explanation: Syntax:
perspective: none | number
9. Which of the following property is used to set the color of the arrow icon within a scroll bar?
a) scrollbar-base-color
b) scrollbar-arrow-color
c) scrollbar-darkshadow-color
d) scrollbar-face-color
View Answer
Explanation: Syntax:
scrollbar-arrow-color: color
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
View Answer
Explanation: Syntax
text-align-last: auto | center | justify | left | right | inherit
Sanfoundry Global Education & Learning Series – CSS.
To practice all areas of CSS, here is complete set of 1000+ Multiple Choice Questions and Answers.
- Practice MCA MCQs
- Check CSS Books
- Apply for Computer Science Internship
- Practice HTML MCQ
- Practice Computer Science MCQs