今天我們分享html5中amazeui這個(gè)框架有關(guān)于:“ 在html5怎么通過(guò)amazeui完成登錄頁(yè)面? 這方面的相關(guān)問(wèn)題分享!下面是小編通過(guò)收集和整理的部分相關(guān)內(nèi)容!希望對(duì)大家有所幫助!
一、總結(jié)
1、tpl命名空間:tpl命名空間的樣式都是從app.css里面來(lái)的,app.css用用來(lái)移動(dòng)網(wǎng)站開(kāi)發(fā)的樣式
2、表單樣式:am-form到am-form-group的形式
二、登錄頁(yè)面
截圖:
代碼:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Amaze UI Admin index Examples</title>
<meta name="description" content="這是一個(gè) index 頁(yè)面">
<meta name="keywords" content="index">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="icon" type="image/png" href="assets/i/favicon.png">
<link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
<meta name="apple-mobile-web-app-title" content="Amaze UI" />
<link rel="stylesheet" href="assets/css/amazeui.min.css" />
<link rel="stylesheet" href="assets/css/amazeui.datatables.min.css" />
<link rel="stylesheet" href="assets/css/app.css">
<script src="assets/js/jquery.min.js"></script>
</head>
<body data-type="login">
<script src="assets/js/theme.js"></script>
<div class="am-g tpl-g">
<!-- 風(fēng)格切換 -->
<div class="tpl-skiner">
<div class="tpl-skiner-toggle am-icon-cog">
</div>
<div class="tpl-skiner-content">
<div class="tpl-skiner-content-title">
選擇主題
</div>
<div class="tpl-skiner-content-bar">
<span class="skiner-color skiner-white" data-color="theme-white"></span>
<span class="skiner-color skiner-black" data-color="theme-black"></span>
</div>
</div>
</div>
<div class="tpl-login">
<div class="tpl-login-content">
<div class="tpl-login-logo">
</div>
<form class="am-form tpl-form-line-form">
<div class="am-form-group">
<input type="text" class="tpl-form-input" id="user-name" placeholder="請(qǐng)輸入賬號(hào)">
</div>
<div class="am-form-group">
<input type="password" class="tpl-form-input" id="user-name" placeholder="請(qǐng)輸入密碼">
</div>
<div class="am-form-group tpl-login-remember-me">
<input id="remember-me" type="checkbox">
<label for="remember-me">
記住密碼
</label>
</div>
<div class="am-form-group">
<button type="button" class="am-btn am-btn-primary am-btn-block tpl-btn-bg-color-success tpl-login-btn">提交</button>
</div>
</form>
</div>
</div>
</div>
<script src="assets/js/amazeui.min.js"></script>
<script src="assets/js/app.js"></script>
</body>
</html>
總結(jié)
那么以上就是有關(guān)于:“在html5怎么通過(guò)amazeui完成登錄頁(yè)面?”這方面的相關(guān)內(nèi)容,在大家閱讀完這篇文章之后想必大家對(duì)于html5中的amazeui的框架有了一點(diǎn)了解,有感興趣的小伙伴們可以在W3Cschool中進(jìn)學(xué)習(xí)和了解更多的相關(guān)知識(shí)!