Amaze UI 是一款轻量级的前端框架,主要用于快速开发Web应用和网站。以下是使用Amaze UI创建一个简单页面的基本HTML结构示例:
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Amaze UI 示例</title>
<link rel="stylesheet" href="path/to/amazeui/css/amazeui.min.css">
<script src="path/to/amazeui/js/amazeui.min.js"></script>
</head>
<body>
<header class="am-header">
<h1 class="am-header-title">我的Web页面</h1>
</header>
<nav class="am-navbar am-navbar-default">
<ul class="am-navbar-nav 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">标题</li>
<li><a href="">1. 菜单项</a></li>
<li><a href="">2. 菜单项</a></li>
<li class="am-divider"></li>
<li><a href="">3. 菜单项</a></li>
</ul>
</li>
</ul>
</nav>
<div class="am-jumbotron">
<h1>Hello, world!</h1>
<p>Amaze UI 为开发者提供优雅的Web界面,简约而不简单,力求解决更多常规问题。</p>
<p><a href="http://amazeui.org/getting-started" class="am-btn am-btn-primary">开始使用</a></p>
</div>
<footer class="am-footer">
<div class="am-footer-switch">
<span class="am-footer-btn am-footer-btn-source">源码</span>
<span class="am-footer-btn am-footer-btn-buy">购买</span>
</div>
<div class="am-footer-content">
<div class="am-footer-copyright">
<p>Amaze UI © 2011-2015</p>
</div>
</div>
</footer>
<!-- 这里是你的内容 -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-Y', 'auto');