本篇内容介绍了“html5中怎么用AmazeUI框架绘制导航”的有关知识,在实际案例的操作过程中,不少人都会遇到这样的困境,接下来就让小编带领大家学习一下如何处理这些情况吧!希望大家仔细阅读,能够学有所成!
具体如下:
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>导航</title>
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link rel="icon" type="image/png" href="assets/i/favicon.png">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="Amaze UI"/>
<link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
<meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
<meta name="msapplication-TileColor" content="#0e90d2">
<link rel="stylesheet" href="assets/css/amazeui.min.css">
</head>
<body>
<!--基本样式-->
<ul class="am-nav">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">开始使用</a></li>
<li><a href="#">按需定制</a></li>
</ul>
<!--水平导航-->
<ul class="am-nav am-nav-pills">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">开始使用</a></li>
<li><a href="#">按需定制</a></li>
</ul>
<!--标签式导航-->
<ul class="am-nav am-nav-tabs">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">开始使用</a></li>
<li><a href="#">按需定制</a></li>
</ul>
<!--宽度自适应-->
<ul class="am-nav am-nav-pills am-nav-justify">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">开始使用</a></li>
<li><a href="#">按需定制</a></li>
<li><a href="#">加入我们</a></li>
</ul>
<ul class="am-nav am-nav-tabs am-nav-justify">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">开始使用</a></li>
<li><a href="#">加入我们</a></li>
</ul>
<!--导航状态-->
<ul class="am-nav am-nav-pills">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">关于我们</a></li>
<li class="am-disabled"><a href="#">禁用链接</a></li>
</ul>
<!--导航标题及分隔线-->
<ul class="am-nav">
<li><a href="#">首页</a></li>
<li class="am-nav-header">开始使用</li>
<li><a href="#">关于我们</a></li>
<li><a href="#">联系我们</a></li>
<li class="am-nav-divider"></li>
<li><a href="#">响应式</a></li>
<li><a href="#">移动优先</a></li>
</ul>
<!--下拉菜单-->
<ul class="am-nav am-nav-pills">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">项目</a></li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
菜单 <span class="am-icon-caret-down"></span>
</a>
<ul class="am-dropdown-content">
<li class="am-dropdown-header">Header</li>
<li><a href="#">1. 一行代码,简单快捷</a></li>
<li class="am-active"><a href="#">2. 网址不变且唯一</a></li>
<li><a href="#">3. 内容实时同步更新</a></li>
<li class="am-disabled"><a href="#">4. 云端跨平台适配</a></li>
<li class="am-divider"></li>
<li><a href="#">5. 专属的一键拨叫</a></li>
</ul>
</li>
</ul>
<ul class="am-nav am-nav-tabs">
<li class="am-active"><a href="#">首页</a></li>
<li><a href="#">项目</a></li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
菜单 <span class="am-icon-caret-down"></span>
</a>
<ul class="am-dropdown-content">
...
</ul>
</li>
</ul>
<!--[if (gte IE 9)|!(IE)]><!-->
<script src="assets/js/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="assets/ie8/jquery.min.js"></script>
<script src="assets/ie8/modernizr.js"></script>
<script src="assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script src="assets/js/amazeui.min.js"></script>
</body>
</html>
“html5中怎么用AmazeUI框架绘制导航”的内容就介绍到这里了,感谢大家的阅读。如果想了解更多行业相关的知识可以关注亿速云网站,小编将为大家输出更多高质量的实用文章!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。