Inheritance and Cascade

Question 1
Marks : +2 | -2
Pass Ratio : 100%
Which of the following property is used to define how nested items are rendered in a 3-D space?
transform-style
transform
transform-origin
transform-3D
Explanation:
transform-style is used to define how nested items are rendered in a 3-D space, the choice being either flattened or with their dimensions preserved. This property affects the children of the element and not the element itself. Also, the property does not cascade, so it is necessary to apply it at all levels.
Question 2
Marks : +2 | -2
Pass Ratio : 100%
Which of the following are different origins of style sheets?
author
user
user agent
all of the mentioned
Explanation:
Author: The author specifies style sheets for a source document according to the conventions of the document language. For instance, in HTML, style sheets may be included in the document or linked externally.
Question 3
Marks : +2 | -2
Pass Ratio : 100%
Which of the following generate “virtual” rules representing their effects when running?
DOM’s
!important
CSS Animations
Inheritance
Explanation:
Self-explainatory.
Question 4
Marks : +2 | -2
Pass Ratio : 100%
The _________________ is the result of resolving the specified value.
cascaded value
computed value
specified value
declared value
Explanation:
Self-explainatory.
Question 5
Marks : +2 | -2
Pass Ratio : 100%
The CSS cascade assigns a weight to each style rule. State true or false.
True
False
Explanation:
Self-explainatory.
Question 6
Marks : +2 | -2
Pass Ratio : 100%
The _______________ is the result of taking the computed value and completing any remaining calculations to make it the absolute theoretical value used in the layout of the document.
cascaded value
declared value
used value
none of the mentioned
Explanation:
Self-explainatory.
Question 7
Marks : +2 | -2
Pass Ratio : 100%
Which of the following rule allows users to import style rules from other style sheets?
@media
@important
@import
@style
Explanation:
The @import rule allows users to import style rules from other style sheets. If an @import rule refers to a valid stylesheet, user agents must treat the contents of the stylesheet as if they were written in place of the @import rule.
Question 8
Marks : +2 | -2
Pass Ratio : 100%
The ____________ represents the result of the cascade: it is the declared value that wins the cascade.
specified Value
actual value
computed value
cascaded value
Explanation:
Self-explainatory.
Question 9
Marks : +2 | -2
Pass Ratio : 100%
Which of the following property is a shorthand that resets all CSS properties?
reset
inital
all
delete
Explanation:
Self-explainatory.
Question 10
Marks : +2 | -2
Pass Ratio : 100%
Which of the following Cascading order has the highest precedence?
user agent declarations
user normal declarations
author normal declarations
author important declarations
Explanation:
Self-explainatory.