Home » HTML » Html miscellaneous » Question
  1. Which of the following can be helpful in creating your own feature detect?
    1. Modernizr._domPrefixes
    2. Modernizr.addTest
    3. Modernizr.atRule
    4. Modenizer.on
    5. None of these
Correct Option: B

If you want to create your own feature detects you can simply use Modernizr.addTest, a string is passed generally in lowercase without any punctuation like Modernizr.addTest(feature, test). It returns the Boolean value. Modernizr._domPrefixes works same as _prefixes. Modernizr.atRule is one of modernizr API(Application Programming Interface) having syntax like – Modernizr.atRule(prop).



Your comments will be displayed only after manual approval.