jQueryMobile的按钮样式
2015-06-01 11:21
609 查看
好吧,已经学了jQueryMobile一年了,今天心血来潮,想要写一篇关于jQueryMobile的博客文章,记得去年暑假在公司实习jQueryMobile,想一想真是怀念当时还是菜鸟的自己,年轻就是任性呀(笑~),好了,关于jQueryMobile方面的概念知识,大家可以去网上查阅相关资料,今天我写了一些jQueryMobile的按钮样式,还是比较漂亮的,代码如下:
网页效果如下图:
<!DOCTYPE html> <html> <head lang="en"> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" type="text/css" href="css/jquery.mobile.flatui.css" /> <script src="js/jquery.js"></script> <script src="js/jquery.mobile-1.4.0-rc.1.js"></script> <title>Flat</title> </head> <body> <div data-role="page"> <div data-role="header" data-theme="f"> <h1>DOTA资料大全</h1> </div> <div data-role="content"> <a href="#" data-theme="a" data-icon="flat-settings" data-role="button">英雄简介</a> <a href="#" data-theme="b" data-icon="flat-new" data-role="button">物品资料</a> <a href="#" data-theme="c" data-icon="flat-man" data-role="button">经典出装</a> <a href="#" data-theme="d" data-icon="flat-mail" data-role="button">野怪资料</a> <a href="#" data-theme="e" data-icon="flat-bubble" data-role="button">教学视频</a> <a href="#" data-theme="f" data-icon="flat-menu" data-role="button">经典解说</a> <a href="#" data-theme="g" data-icon="flat-heart" data-role="button">明星专访</a> <a href="#" data-theme="g" data-icon="flat-time" data-role="button">关于作者</a> </div> </div> </body> </html>
网页效果如下图:
相关文章推荐
- 解读Jquery各Ajax函数
- javascript jquery封装对象时的错误,求解!我想知道为什么
- jquery插件库收集网站
- jquery对表单元素赋值
- 使用jQuery lazyload 实现图片延迟加载
- jquery $(this).attr $(this).val方法使用介绍
- 炫酷实用的jQuery插件 涵盖菜单、按钮、图片
- jQuery 获取Select选择的Text和 Value
- jQuery 中$.ajax()方法参数详解
- jquery.unobtrusive-ajax.js的扩展,做到片段式加载
- jQuery 获取、设置表单元素的值
- jquery+ajax上传图片 显示进度条
- JQuery判断checkbox是否选中及其它复选框操作方法合集
- jQuery解析XML文件同时动态增加js文件的方法
- 使用jQuery设置元素选中的问题及解决办法
- Jquery图片轮播和CSS图片轮播
- jQuery 标签淡入淡出 个人随笔
- jQuery操作css-position()与offset()方法的区别
- jQuery 个人随笔
- jQuery入门基础知识学习笔记