If i take off modernizer do i will lose something? or all my graphism and jquery will still work?
Modernizr is a JavaScript library that detects browser's HTML5 and CSS3 capabilities. After that, it creates a JavaScript object that saves test results and adds a series of class attributes to the HTML tag on your page.
If your graphism and jquery uses the results of Modernizr detection to do some specified operations, you need to use it.
Best Regards,
Yong Lu
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
Member
306 Points
1665 Posts
Why some css classes are added to my <html line..
Apr 13, 2018 07:46 AM|grafic.web|LINK
Hi, this is my code of the <html>
why when i load my page on the webserver, some classes are added to it?
How can i avoid this?
thanks
All-Star
50844 Points
12086 Posts
Re: Why some css classes are added to my <html line..
Apr 14, 2018 03:39 PM|bruce (sqlwork.com)|LINK
Member
306 Points
1665 Posts
Re: Why some css classes are added to my <html line..
Apr 15, 2018 06:17 PM|grafic.web|LINK
If i take off modernizer do i will lose something? or all my graphism and jquery will still work?
Star
11334 Points
2346 Posts
Microsoft
Re: Why some css classes are added to my <html line..
Apr 16, 2018 07:00 AM|Yohann Lu|LINK
Hi grafic.web,
Modernizr is a JavaScript library that detects browser's HTML5 and CSS3 capabilities. After that, it creates a JavaScript object that saves test results and adds a series of class attributes to the HTML tag on your page.
If your graphism and jquery uses the results of Modernizr detection to do some specified operations, you need to use it.
Best Regards,
Yong Lu
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue.
Member
306 Points
1665 Posts
Re: Why some css classes are added to my <html line..
Apr 16, 2018 04:57 PM|grafic.web|LINK
Hi,
SPECIFIC OPERATIONS, like what? for example?
thanks for your help
All-Star
37111 Points
14979 Posts
Re: Why some css classes are added to my <html line..
Apr 16, 2018 05:23 PM|mgebhard|LINK
We cannot see your site or know what APIs you are using on your site. It is up to you to read the documentation.
Why not simply remove the API and see if anything breaks.