SASS Nesting MCQ
Sass MCQ(1) Which of the following operator is used as parent identifier ?
A) *
B) ^
C) #
D) &
Explanation
Ampersand is used as parent identifier in SASS nesting.
(2) In SASS nesting properties in Nth level are:
A) Inherited
B) Derived
C) Independent
D) Dependent
Explanation
Each level in nesting of SASS is independent having its own rules/properties.
(3) How many levels of nesting are allowed in SASS ?
A) Two
B) Four
C) Eight
D) Multiple
Explanation
We can write nesting up to our requirement. Mean multiple nesting is allowed.
(4) Which operators is used for pseudo-selectors in SASS nesting ?
A) $
B) #
C) &
D) @
Explanation
& is used for pseudo-selectors in SASS nesting.
(5) Which of the following operator is used to create define event properties in SASS?
A) *
B) &
C) %
D) $
Explanation
Ampersand is used to define rules for events.
(6) Which of the following parentheses is used for nesting in SASS
A) [ ]
B) ( )
C) { }
D) < >
Explanation
Curly parentheses are used in SASS and SCSS for nesting rules