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/[email protected]">
<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/[email protected]">
<meta name="msapplication-TileImage" content="assets/i/[email protected]">
<meta name="msapplication-TileColor" content="#0e90d2">
<link rel="stylesheet" href="assets/css/amazeui.min.css">
</head>
<body style="margin: 10px;">
<!--基本样式-->
<table class="am-table">
	<thead>  
		<tr>  
			<th>-= 表格标题 =-</th>  
			<th>-= 表格标题 =-</th>  
			<th>-= 表格标题 =-</th>  
			<th>-= 表格标题 =-</th>  
		</tr>  
	</thead>  
	<tbody>  
		<tr>  
			<td>表格数据</td>  
			<td>表格数据</td>  
			<td>表格数据</td>  
			<td>表格数据</td>  
		</tr>  
		<tr>  
			<td>表格数据</td>  
			<td>表格数据</td>  
			<td>表格数据</td>  
			<td>表格数据</td>  
		</tr>  
	</tbody>  
</table>
<!--基本边框-->
<table class="am-table am-table-bordered">
	...  
</table>
<!--圆角边框-->
<table class="am-table am-table-bordered am-table-radius am-table-striped">
	...  
</table>
<!--其他效果-->
<table class="am-table am-table-striped am-table-hover">
	...
</table>
<!--紧凑型-->
<table class="am-table am-table-bordered am-table-striped am-table-compact">
	...
</table>
<!--响应式表格-->
<div class="am-scrollable-horizontal">
  <table class="am-table am-table-bordered am-table-striped am-text-nowrap">
	...
  </table>
</div>
<!--后续更新-->
<table class="am-table am-table-bordered am-table-centered">
  <tr>
    <th>-= 表格标题 =-</th>
    <th>-= 表格标题 =-</th>
    <th>-= 表格标题 =-</th>
  </tr>
  <tr>
    <td rowspan="2" class="am-text-middle">$50</td>
    <td>表格数据</td>
    <td>$100</td>
  </tr>
  <tr>
    <td>表格数据</td>
    <td>$80</td>
  </tr>
</table>
<!--所有样式叠加-->
<table class="am-table am-table-bordered am-table-striped am-table-hover">
    ...
</table>
<!--[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>	

效果图:

 
 

猜你喜欢

转载自onestopweb.iteye.com/blog/2276857