打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
开始使用 | Amaze UI

Amaze UI 是一个轻量级(所有 CSS 和 JS gzip 后 90 kB 左右)、 Mobile first 的前端框架, 基于开源社区流行前端框架编写(使用、参考的项目列表)。

获取 Amaze UI

下载文件

使用 CDN

Amaze UI CDN: 域名解析服务由 DNSPod 提供,CDN 存储由又拍云提供。

Copy
http://cdn.amazeui.org/amazeui/2.0.0/css/amazeui.csshttp://cdn.amazeui.org/amazeui/2.0.0/css/amazeui.min.csshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.jshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.min.jshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.legacy.jshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.legacy.min.jshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.widgets.helper.jshttp://cdn.amazeui.org/amazeui/2.0.0/js/amazeui.widgets.helper.min.js

使用 Bower

Copy
bower install amazeui

获取源码

你可以从 GitHub 项目主页获取源代码。

文件及版本说明

文件说明

  • amazeui.css / amazeui.js:包含 Amaze UI 所有的 CSS、JS。
  • amazeui.flat.css:圆角版 Amaze UI CSS,演示参见 1.x
  • amazeui.legacy.js:为 IE 8 打包的 JS。
  • amazeui.widgets.helper.js: Web 组件必须的 Handlebars helper 及 Web 组件模板 partials,仅供 Handlebars 用户使用

以上每个文件都有对应的 minified 文件。

版本号说明

Amaze UI 遵循 Semantic Versioning 规范,版本格式采用 主版本号.次版本号.修订号 的形式,版本号递增规则如下:

  • 主版本号:做了不兼容的API 修改,如整体风格变化、大规模重构等;
  • 次版本号:做了向下兼容的功能性新增;
  • 修订号:做了向下兼容的问题修正、细节调整等。

  • 1.x 到 2.x 变更记录暨升级指南

下载包目录结构

下载包种包含 Amaze UI 的 CSS、JS 文件,以及示例文件:

  • index.html - 空白 HTML 模板;
  • blog.html - 博客页面模板(预览);
  • landing.html - Landing Page 模板(预览);
  • login.html - 登录界面模板(预览);
  • sidebar.html - 带边栏的文章模板(预览);
  • admin-*.html - 简单的管理后台界面(预览
  • app.css 中编写 CSS;
  • app.js 中编写 JavaScript;
  • 图片资源可以放在 i 目录下。
AmazeUI|-- assets|   |-- css|   |   |-- amazeui.css             // Amaze UI 所有样式文件|   |   |-- amazeui.min.css           // 约 40 kB (gzipped)|   |   `-- app.css|   |-- i|   |   |-- app-icon72x72@2x.png|   |   |-- favicon.png|   |   `-- startup-640x1096.png|   `-- js|       |-- amazeui.js|       |-- amazeui.min.js                // 约 48 kB (gzipped)|       |-- amazeui.widgets.helper.js|       |-- amazeui.widgets.helper.min.js|       |-- app.js|       `-- handlebars.min.js|-- blog.html|-- index.html|-- landing.html|-- login.html|-- sidebar.html`-- widget.html

创建一个页面

  1. 新建一个 HTML 文档,将下面的代码粘贴到文档中;
  2. 查看 CSS 组件及 JS 插件,拷贝符合的演示代码,粘贴到 <body> 区域,并按需调整;
  3. 一个简单的页面完成。
Copy
<!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, maximum-scale=1, user-scalable=no">  <title>Hello Amaze UI</title>  <!-- Set render engine for 360 browser -->  <meta name="renderer" content="webkit">  <!-- No Baidu Siteapp-->  <meta http-equiv="Cache-Control" content="no-siteapp"/>  <link rel="icon" type="image/png" href="assets/i/favicon.png">  <!-- Add to homescreen for Chrome on Android -->  <meta name="mobile-web-app-capable" content="yes">  <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">  <!-- Add to homescreen for Safari on iOS -->  <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">  <!-- Tile icon for Win8 (144x144 + tile color) -->  <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">  <link rel="stylesheet" href="assets/css/app.css"></head><body><p>  Hello Amaze UI.</p><!--在这里编写你的代码--><!--[if (gte IE 9)|!(IE)]><!--><script src="assets/js/jquery.min.js"></script><!--<![endif]--><!--[if lte IE 8 ]><script src="//libs.baidu.com/jquery/1.11.1/jquery.min.js"></script><![endif]--></body></html>
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Amaze UI 对 IE 8/9 等浏览器只提供有限的支持。
AllMobilize / amazeui
7个优秀的国内外移动端web框架
更新Foundation、Amaze、jQuery、Modernizr四种框架的CDN
为移动端开发提供纯前端的路由方案
让Bootstrap 3兼容IE8浏览器
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服