Explore topic-wise MCQs in Css.

This section includes 38 Mcqs, each offering curated multiple-choice questions to sharpen your Css knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following property defines the resampling method to use when stretching images?%!

A. interpolation-mode
B. image-rendering
C. ime-mode
D. layout-grid
Answer» C. ime-mode
2.

Which of the following property is used to apply visual effects to associated elements.%!

A. Alpha
B. BasicImage
C. Filter
D. Blur
Answer» D. Blur
3.

Which of the following property defines the color of any rules between columns in a multicolumn text flow?%!

A. column-color
B. column-rule-color
C. column-rule-style
D. column-rule-decoration
Answer» C. column-rule-style
4.

*$_Which of the following css property repeats an image both horizontally and vertically??

A. background
B. background-image
C. background-repeat
D. background-position
Answer» D. background-position
5.

*/*_Which of the following property is a shorthand definition of the number of columns and their widths in a multicolumn text flow??

A. column-width
B. column-style
C. columns
D. filter
Answer» D. filter
6.

*/*_Which of the following CSS3 property specifies the alignment of the replaced element inside its box??

A. object
B. object-allign
C. object-position
D. object-render
Answer» D. object-render
7.

*/*_Which of the following property specifies the speed curve of the transition effect??

A. transition-delay
B. transition-duration
C. transition-timing-function
D. transition
Answer» D. transition
8.

*/*_Which of the following selector is used to selects the element that is the nth child of its parent??

A. :nth-child(n)
B. ::first-line
C. :last-of-type
D. :first-of-type
Answer» B. ::first-line
9.

*/*_Which of the following property is used to control column element breaks before the associated element when flowing multicolumn text??

A. multicolumn
B. column-break-before
C. column-break
D. multicolumn-break-before
Answer» C. column-break
10.

*/*_Which of the following transition-timing-function property lets you define your own values in a cubic-bezier function?

A. cubic(n,n,n,n)
B. matrix(n,n,n,n)
C. cubic-bezier(n,n,n,n)
D. none of the mentioned
Answer» D. none of the mentioned
11.

*/*_Which of the following CSS3 property specifies where to navigate when using the arrow-right navigation key??

A. Which of the following CSS3 property specifies where to navigate when using the arrow-right navigation key?
B. nav-right
C. nav-side
D. none of the mentioned
Answer» D. none of the mentioned
12.

*/*_What module defines the handling of lists, including marker styles and some aspects of counters??

A. Line Layout
B. Lists
C. Media Queries
D. Namespaces
Answer» C. Media Queries
13.

%_Which of the following property defines where a 3D element is based in the x- and the y-axis?_%

A. transform-style
B. perspective(n)
C. perspective-origin
D. none of the mentioned
Answer» D. none of the mentioned
14.

_ Which of the following property defines the width of a rule between columns in a multicolumn text flow?$?

A. column-rule-style
B. column-width
C. column-rule-width
D. columns
Answer» D. columns
15.

_ Which of the following method moves an element from its current position using tranform?$?

A. rotate()
B. scale()
C. translate()
D. matrix()
Answer» D. matrix()
16.

_ Which of the following selector is used to selects the element that is the first child of its parent that is of its type?$?

A. :nth-child(n)
B. ::first-line
C. :last-of-type
D. :first-of-type
Answer» E.
17.

_ Which of the following property is used to control column element breaks after an associated element when flowing multicolumn text?$?

A. column-break
B. column-break-after
C. column-break-before
D. multicolumn-break-after
Answer» C. column-break-before
18.

_ Which of the following transition-timing-function property specifies a transition effect with a slow start, then fast, then end slowly$?

A. ease
B. ease-in
C. ease-in-out
D. none of the mentioned
Answer» B. ease-in
19.

_ Which of the following CSS3 property specifies where to navigate when using the arrow-up navigation key?$?

A. nav-upper
B. nav-top
C. nav-up
D. all of the mentioned
Answer» D. all of the mentioned
20.

_ What module defines the management of generated content for print output, including crop mark indication, header/footer handling, and much more?$?

A. Behavioral Extensions
B. Generated and Replaced Content
C. Generated Content for Paged Media
D. Grid Positioning
Answer» D. Grid Positioning
21.

_Which of the following method rotates an element around its Y-axis at a given degree using tranform 3D?$?

A. rotateY()
B. rotate-Y()
C. rotate-Yaxis()
D. none of the mentioned
Answer» B. rotate-Y()
22.

_Which of the following property defines the style of the divider rule between columns in a multicolumn text flow?$?

A. columns
B. column-flow
C. column-style
D. none of the mentioned
Answer» E.
23.

_Which of the following CSS3 property specifies how the contents of a replaced element should be fitted to the box established by its used height and width?$?

A. object-fit
B. object-position
C. image-orientation
D. none of the mentioned
Answer» B. object-position
24.

_Which of the following method increases or decreases the size of an element using tranform?$?

A. rotate()
B. scale()
C. translate()
D. matrix()
Answer» C. translate()
25.

_Which of the following selector is used to selects the elements that are the default among a set of similar elements?$?

A. ::after
B. :disabled
C. :default
D. :checked
Answer» D. :checked
26.

_Which of the following measurement represent seconds?$?

A. s
B. se
C. sec
D. second
Answer» B. se
27.

_Which of the following transition-timing-function property specifies a transition effect with a slow start?$?

A. ease
B. ease-in
C. ease-in-out
D. none of the mentioned
Answer» C. ease-in-out
28.

_Which of the following CSS3 property specifies whether or not an element is resizable by the user?$?

A. resize
B. length
C. inherit
D. none of the mentioned
Answer» C. inherit
29.

_What module introduces the ability to modify CSS property values over time, such as position or color, to create animated layouts?$?

A. 3D Transforms
B. Animations
C. 2D Transforms
D. Box Model
Answer» C. 2D Transforms
30.

Which of the following property defines the gap between columns in a multicolumn text flow?$?

A. column-rule-flow
B. column-gap
C. column-rule
D. none of the mentioned
Answer» C. column-rule
31.

Which of the following css property specifies a delay for the transition effect??

A. transition-delay
B. transition-effect
C. transition
D. transition-duration
Answer» B. transition-effect
32.

Which of the following method skews an element along the X and Y-axis by the given angles using tranform??

A. skewX()
B. skewy()
C. skew-X-Y()
D. skew()
Answer» E.
33.

Which of the following selector is used to select and style when you place mouse over it?

A. focus
B. hover
C. mouse
D. all of the mentioned
Answer» C. mouse
34.

Which of the following selector is used to select elements that are read-only. When applied to form elements, this would select fields with the readonly attribute set?

A. :valid
B. :target
C. :read-only
D. :required
Answer» D. :required
35.

Which of the following css property specifies an image to use as the background of an element?

A. background
B. background-img
C. background-image
D. none of the mentioned
Answer» D. none of the mentioned
36.

Which of the following css property defines whether or not an element should be visible when not facing the screen?

A. visibility
B. backface-control
C. backface-visibility
D. none of the mentioned
Answer» D. none of the mentioned
37.

Which of the following selector is used to selects the element that is the root of the document?

A. :only-of-type
B. :target
C. :root
D. ::selection
Answer» E.
38.

Which of the following nav-right value is used to the inherits this property from its parent element?

A. auto
B. id
C. target-name
D. inherit
Answer» E.