Home » HTML » Html miscellaneous » Question
  1. Which of the following is internal list of prefixes?
    1. Modernizr.prefixedCSS
    2. Modernizr.prefixed
    3. Modernizr._prefixes
    4. Modernizr.prefixedCSS value
    5. None of these
Correct Option: C

Modernizr._prefixes is internal list of prefixes. It is set against things like prefixedCSS and prefixed. It is an array of kebab-case vendor.

E.g. var ru= Modernizr._prefixes.join(‘transform: rotate(10deg);’); ru == ‘transform: rotate(10deg)’; webkit- transform: rotate(10deg); moz-transform: rotate(10deg); o-transform: rotate(10deg); ms-transform: rotate(10deg);’

Modernizr.prefixedCSSVAlue (prop,value). Modernizr.prefixed takes string css value in camelCase. Modernizr.prefixedCSS returns hyphenated value.



Your comments will be displayed only after manual approval.