html5中AmazeUI插件如何实现缩略图
这篇文章主要为大家展示了“html5中AmazeUI插件如何实现缩略图”,内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下“html5中AmazeUI插件如何实现缩略图”这篇文章吧。
代码如下:
<!doctypehtml><htmlclass="no-js"><head><metacharset="utf-8"><metahttp-equiv="X-UA-Compatible"content="IE=edge"><metaname="description"content=""><metaname="keywords"content=""><metaname="viewport"content="width=device-width,initial-scale=1"><title>缩略图</title><metaname="renderer"content="webkit"><metahttp-equiv="Cache-Control"content="no-siteapp"/><linkrel="icon"type="image/png"href="assets/i/favicon.png"><metaname="mobile-web-app-capable"content="yes"><linkrel="icon"sizes="192x192"href="assets/i/app-icon72x72@2x.png"><metaname="apple-mobile-web-app-capable"content="yes"><metaname="apple-mobile-web-app-status-bar-style"content="black"><metaname="apple-mobile-web-app-title"content="AmazeUI"/><linkrel="apple-touch-icon-precomposed"href="assets/i/app-icon72x72@2x.png"><metaname="msapplication-TileImage"content="assets/i/app-icon72x72@2x.png"><metaname="msapplication-TileColor"content="#0e90d2"><linkrel="stylesheet"href="assets/css/amazeui.min.css"></head><body><!--结合网格使用--><divclass="am-g"><divclass="am-u-sm-4"><imgclass="am-thumbnail"src="img/bing.jpg"alt=""/></div><divclass="am-u-sm-4"><ahref="#"class="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/></a></div><divclass="am-u-sm-4"><figureclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/></figure></div></div><!--结合AVGGrid使用--><ulclass="am-avg-sm-3am-thumbnails"><li><imgclass="am-thumbnail"src="img/bing.jpg"alt=""/></li><li><ahref="#"class="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/></a></li><li><figureclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/></figure></li></ul><!--标题--><divclass="am-g"><divclass="am-u-sm-4"><divclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/><h4class="am-thumbnail-caption">图片标题#1</h4></div></div><divclass="am-u-sm-4"><ahref="#"class="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/><figcaptionclass="am-thumbnail-caption">图片标题#2</figcaption></a></div><divclass="am-u-sm-4"><figureclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/><figcaptionclass="am-thumbnail-caption">图片标题#3</figcaption></figure></div></div><!--图文混排--><divclass="am-g"><divclass="am-u-sm-6"><divclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/><divclass="am-thumbnail-caption"><h4>图片标题</h4><p>阅谁问君诵,水落清香浮。阅谁问君诵,水落清香浮。阅谁问君诵,水落清香浮。</p><p><buttonclass="am-btnam-btn-primary">按钮</button><buttonclass="am-btnam-btn-default">按钮</button></p></div></div></div><divclass="am-u-sm-6"><divclass="am-thumbnail"><imgsrc="img/bing.jpg"alt=""/><divclass="am-thumbnail-caption"><h4>图片标题</h4><p>阅谁问君诵,水落清香浮。阅谁问君诵,水落清香浮。阅谁问君诵,水落清香浮。</p><p><buttonclass="am-btnam-btn-primary">按钮</button><buttonclass="am-btnam-btn-default">按钮</button></p></div></div></div></div><!--[if(gteIE9)|!(IE)]><!--><scriptsrc="assets/js/jquery.min.js"></script><!--<![endif]--><!--[iflteIE8]><scriptsrc="assets/ie8/jquery.min.js"></script><scriptsrc="assets/ie8/modernizr.js"></script><scriptsrc="assets/js/amazeui.ie8polyfill.min.js"></script><![endif]--><scriptsrc="assets/js/amazeui.min.js"></script></body></html>
以上是“html5中AmazeUI插件如何实现缩略图”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注亿速云行业资讯频道!
声明:本站所有文章资源内容,如无特殊说明或标注,均为采集网络资源。如若本站内容侵犯了原著者的合法权益,可联系本站删除。