网页技术交流
 
发新帖
楼主: 零五零八
查看: 674|回复: 0

[使用教程] AmazeUI 等分网格的实现示例

[复制链接]
零五零八 发表于 2020-11-23 19:12:42 | 显示全部楼层
本文主要介绍了 AmazeUI 等分网格的实现示例,分享给大家,具体如下:


  1. <!doctype html>
  2. <html class="no-js">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="description" content="">
  7. <meta name="keywords" content="">
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <title>等分网格</title>
  10. <meta name="renderer" content="webkit">
  11. <meta http-equiv="Cache-Control" content="no-siteapp"/>
  12. <link rel="icon" type="image/png" href="assets/i/favicon.png">
  13. <meta name="mobile-web-app-capable" content="yes">
  14. <link rel="icon" sizes="192x192" href="assets/i/app-icon72x72@2x.png">
  15. <meta name="apple-mobile-web-app-capable" content="yes">
  16. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  17. <meta name="apple-mobile-web-app-title" content="Amaze UI"/>
  18. <link rel="apple-touch-icon-precomposed" href="assets/i/app-icon72x72@2x.png">
  19. <meta name="msapplication-TileImage" content="assets/i/app-icon72x72@2x.png">
  20. <meta name="msapplication-TileColor" content="#0e90d2">
  21. <link rel="stylesheet" href="assets/css/amazeui.min.css">
  22. </head>
  23. <body>
  24. <div class="am-container">
  25.   <ul class="am-avg-sm-4 am-thumbnails">
  26.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-1.jpg" /></li>
  27.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-2.jpg" /></li>
  28.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-3.jpg" /></li>
  29.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-4.jpg" /></li>
  30.   </ul>
  31.   <ul class="am-avg-sm-2 am-avg-md-3 am-avg-lg-4 am-thumbnails">
  32.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-1.jpg" /></li>
  33.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-2.jpg" /></li>
  34.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-3.jpg" /></li>
  35.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-4.jpg" /></li>
  36.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-1.jpg" /></li>
  37.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-2.jpg" /></li>
  38.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-3.jpg" /></li>
  39.     <li><img class="am-thumbnail" src="http://s.amazeui.org/media/i/demos/bing-4.jpg" /></li>
  40.   </ul>
  41. </div>
  42. <!--[if (gte IE 9)|!(IE)]><!-->
  43. <script src="assets/js/jquery.min.js"></script>
  44. <!--<![endif]-->
  45. <!--[if lte IE 8 ]>
  46. <script src="assets/ie8/jquery.min.js"></script>
  47. <script src="assets/ie8/modernizr.js"></script>
  48. <script src="assets/js/amazeui.ie8polyfill.min.js"></script>
  49. <![endif]-->
  50. <script src="assets/js/amazeui.min.js"></script>
  51. </body>
  52. </html>
复制代码


效果图:


2020825162229499.jpg
快速回复 返回顶部 返回列表