溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

AmazeUI下載配置的示例分析

發(fā)布時間:2021-03-20 11:23:08 來源:億速云 閱讀:167 作者:小新 欄目:web開發(fā)

小編給大家分享一下AmazeUI下載配置的示例分析,相信大部分人都還不怎么了解,因此分享這篇文章給大家參考一下,希望大家閱讀完這篇文章后大有收獲,下面讓我們一起去了解一下吧!

1、這東西直接在AmazeUI的官網(wǎng)(點擊打開鏈接)中下載,打開官網(wǎng)之后,選擇“開始使用”->然后在“獲取 Amaze UI”一欄中“Amaze UI v2.3.0”

AmazeUI下載配置的示例分析 

2、下載之后,之后解壓,把里面的assets拖到你手機版的站點目錄。

AmazeUI下載配置的示例分析

3、新建一個Helloworld.html,你的站點目錄應(yīng)該如下圖:

AmazeUI下載配置的示例分析

4、在Helloworld.html寫入如下的代碼,然后使用Google瀏覽器、野狐禪等支持手機版網(wǎng)頁調(diào)試的瀏覽器,打開Helloworld.html,以下的網(wǎng)頁對比與官網(wǎng)的Helloworld.html例子,刪除不少的沒意義的外部文件引用。

<!--使用HTML5開發(fā)-->
<!doctype html>
<html class="no-js">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <!--自動適應(yīng)移動屏幕-->
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
        <!--優(yōu)先使用webkit內(nèi)核渲染-->
        <meta name="renderer" content="webkit">
        <!--不要被百度轉(zhuǎn)碼-->
        <meta http-equiv="Cache-Control" content="no-siteapp"/>
        <!--以下才是引入amazeui資源-->
        <link rel="stylesheet" href="assets/css/amazeui.min.css">
        <link rel="stylesheet" href="assets/css/app.css">
        <script src="assets/js/jquery.min.js"></script>
        <title>Hello Amaze UI</title>
    </head>
	<body>
    	<h2>Hello Amaze UI.</h2>
        <button type="button" class="am-btn am-btn-default">默認(rèn)樣式</button>
        <button type="button" class="am-btn am-btn-primary">主色按鈕</button>
        <button type="button" class="am-btn am-btn-secondary">次色按鈕</button>
        <button type="button" class="am-btn am-btn-success">綠色按鈕</button>
        <button type="button" class="am-btn am-btn-warning">橙色按鈕</button>
        <button type="button" class="am-btn am-btn-danger">紅色按鈕</button>
        <button type="button" class="am-btn am-btn-danger am-round">圓角紅色按鈕</button>
		<a class="am-btn am-btn-link">鏈接</a>
	</body>
</html>

則得到如下的效果:

AmazeUI下載配置的示例分析

以上是“AmazeUI下載配置的示例分析”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注億速云行業(yè)資訊頻道!

向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI