加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

使用Firebug,为什么是第一行

发布时间:2020-12-14 19:45:01 所属栏目:资源 来源:网络整理
导读:我想查看其他人如何对他们的网站进行编码,但却试图理解这样做: html class="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange history draganddrop websockets rgba hsla multi
我想查看其他人如何对他们的网站进行编码,但却试图理解这样做:
<html class="js flexbox flexboxlegacy canvas canvastext webgl no-touch geolocation postmessage no-websqldatabase indexeddb hashchange
             history draganddrop websockets rgba hsla multiplebgs backgroundsize borderimage borderradius boxshadow textshadow opacity
             cssanimations csscolumns cssgradients no-cssreflections csstransforms csstransforms3d csstransitions fontface generatedcontent
             video audio localstorage sessionstorage webworkers applicationcache svg inlinesvg smil svgclippaths"
      lang="en" style="">

这是什么目的,有人可以向我解释一下吗?

解决方法

因为他们使用的是 modernizr

Modernizr检测支持的功能以及浏览器不支持的功能.在响应它时附加不同的HTML元素类.然后可以编写哪些修复跨浏览器兼容性问题.

如< html>它是文档入口点或主容器,它为HTML标记添加了类.

Similar Question

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读