求助大神!html文件如何引用多个前端框架?
<head><metacharset="UTF-8"><metaname="viewport"content="width=device-width,initial-sc...
<head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>111</title> <link type="text/css" rel="stylesheet" href="css/index.css"> <link type="text/css" rel="stylesheet" href="bootstrap/css/bootstrap.min.css"> <link type="text/css" rel="stylesheet" href="materialize/css/materialize.min.css" media="screen,projection"/> <link type="text/css" rel="stylesheet" href="foundation/css/foundation.min.css"></head>如上代码,想使用自己编写的部分index.css,也想引用bootstrap、foundation、materialize三个前端框架的部分样式,这样引用是否正确?使用了materialize的导航栏后效果与手册不同,是我引用出错导致吗?引用如下:<nav> <div class="nav-wrapper"> <a href="#!" class="brand-logo">Logo</a> <a href="#" data-activates="mobile-demo" class="button-collapse"> <i class="material-icons">menu</i> </a> <ul class="right hide-on-med-and-down"> <li><a href="sass.html">Sass</a></li> <li><a href="badges.html">组件</a></li> <li><a href="collapsible.html">Javascript</a></li> <li><a href="mobile.html">手机</a></li> </ul> <ul class="side-nav" id="mobile-demo"> <li><a href="sass.html">Sass</a></li> <li><a href="badges.html">组件</a></li> <li><a href="collapsible.html">Javascript</a></li> <li><a href="mobile.html">手机</a></li> </ul> </div> </nav>官方效果如图三,图一图二为我的效果
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |