Css miscellaneous


  1. Each property may also have a cascaded value of ___________ which means that, for a given element, the property takes the same specified value as the property for the element’s parent.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: A

    Each property may also have a cascaded value of ‘inherit’, which means that, for a given element, the property takes the same specified value as the property for the element’s parent. The ‘inherit’ value can be used to enforce inheritance of values, and it can also be used on properties that are not normally inherited.


  1. The __________ may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    User: The user may be able to specify style information for a particular document. For example, the user may specify a file that contains a style sheet or the user agent may provide an interface that generates a user style sheet (or behaves as if it did) .



  1. CSS3 ___________ let you display smooth transitions between two or more specified colors











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    Earlier, you had to use images for these effects. However, by using CSS3 gradients you can reduce download time and bandwidth usage. In addition, elements with gradients look better when zoomed, because the gradient is generated by the browser.


  1. As a general rule, properties in CSS inherit from ___________ elements











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: C

    parent to child



  1. _____________ property specifies whether the mask should scroll or stay fixed when the page is scrolled.











  1. View Hint View Answer Discuss in Forum

    NA

    Correct Option: D

    mask-attachment: fixed | scroll