jQuery Mobile 自定义导航条图标
1、jQuery Mobile 自定义导航条图标
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWcAAABICAIAAAClV6ONAAAVoUlEQVR4nO2d31MbWXbH5+/I08Q7M1uON5bEpHYespXKprJv2drsQyqpSSazO6lN7WZqM5tKZWfyG9RSN5LAjG2w8YDAgGHw1NoafgipJYNsDBiwBQaBhY09mPIYg7AB81vqvufk4aKmrd9CArWc+ymVSmpdtc7Rvf3tc+89t/uNVQaDwUgHRmlpaXljbW1tdXWVPbNn9syeUzy/ohqrDAaDkY5XVGNn5M/Ygz3Ygz1SP15RDWAwGIx0vKIayGAwGBnDVIPBYGQHUw0Gg5EdTDUYjCIGAAmiDCgBSoAyIEFUDUEcCketGjHDKmm3Mw6JDMe9siqpTRRTiYoisj8ZBFBObr4MSA7NuSNVDaWSirq2XgPS/v+Z15SWqzITXShG7SCq15sSTr5E3xL0PMOeZ+hbgsmXuCklLpwvjk41CCGIODo6evv2beUtBQCePHmytLR0NJYwEHF9fT1hJs/a2trm5qa65NbWVrK0n/X19ULZnxZFC7a2tmZnZ0VRbGlpqa2tra2tbWlpEUXxwYMHW1tbMYU1DkQjiAjBwWX8bBL+cgi/7wW9D0uGsGQI9T78vhd+MoifTcLgMkYIIiKBPPdZjkg1aK0MDw+XlZWVlpaOjIwgIg0UEVGSpKqqqtbWVnxVTTROTNCruKNlqIVDQ0OCIPBRBEFQv62oqAgEArR8MBisqqpKVlIQhKGhIdTYUacYEwqFOjs7BUHgOK66urqtrc3hcDgcjra2turqao7jBEHo7OwMhUIxX9Q4g8/hozug60X9DdT7UOdBgwfe9cC7HjB4QOdBvQ/1N1DXix/5cfB5/p06CtWgQjA4OMjzfDAYDAaDZrNZEQ5ElCTp7Nmz7e3tWCSqkbp5adyFjY0NjuO6urqCwWAgEJhSEQgEZmZmmpubKyoqqA5WVlZevHhxZmYmvmQwGOzq6uI4bmNjo9A+7aOch/r6+srKysxms8fjWVxcjEQi6mKSJIVCIVE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mswGEUMABJEGVAClABlQJKniZIUMNVgMBjZwVSDwWBkRz5V49ixY1ltLxbU9mfiSxH5m9bU+AJF4V1RGJkt71f53q/yKa9TFEvxNi/kOdZI28iOZUYeTcqdeBcyL6x9UhicsF40W1PJxD0rBzXlEYWKRUItSKgIRaMauWiBButJTcJDJaFT2TpeEDKvqWOJDrz4F9ohocExb1P4mPCL2iGZFqTVCEV04qXnwBzKuEbmf71mK0khd1+072OGaNmRFJKRonBRqCElkwgiXiAOKe7Iv2pkUmdpT3QaQW1PWlOLwiOFtKfZtNWkKdeyMvVY8ahGjBAkeyiFY74Yv7e8WJXn0dBM2lbqitFOtR1LEsSmLp/59gKSiamZmK1B1/D/d6yReYFcKMAcSlZvC86x1y7WyEq1i8IjNWm9U7vwGqhGMqVIWyAXCh9rFItqHLik1jyixFuV0M7MN2qETDQuhVho1rVknZH4Xkn8wGcm87VZwWKNNBx77WINBbVhKequ6DxK26KKTjUynHnNKu7IBRZrpCFFe0phqta8SEbCwyy+QFGQsKYS2p+wyWnT09SzIRmqRuqNB6DAsUZWh2JByEo1krmmNafUpLatWAKorIQgxn4tq4ZCigmRzIcwilg14rdrsyFSMlSN+Jan8RiKcuBYQ1PuZBJQKBuT1Yv2Oynxb2MijmJVjQzPS8k0QoPaES9tCf1Kdvhpti3G25+iRjKpU+2gmJfWzoQqr03XUoxZqFUjdRqoRlUj7fZMGpymqi2TWCPeQc0eXamtSqaGCUsein05kPoUlaL60pYsLClSuWK2pIg18phOjmylPIPByBamGgwGIzuYajAYjOxgqsFgMLKDqQaDwcgOphoMBiM7mGowGIzsYKrBYDCyg6kGg8HIDqYaDAYjO5hqMBiM7GCqwWAwsqOlpeWNJQaDwciGN7YYDAYjG/4PcUbSQ04P7KMAAAAASUVORK5CYII=" alt="">
/*------------------------------------------------ 自定义图标 --------------------------------------------------------*/
.ui-footer .ui-icon { /* 设置图标的大小,边框 */
width: 40px;
height: 40px;
box-shadow:none;
margin-top:0px;
}
.ui-footer .ui-btn-icon-top .ui-icon { /* 设置图标距导航栏距离 */
top: 0px;
} .ui-footer .ui-btn-icon-top .ui-btn-inner .ui-icon { /* 设置图标距左边距离 */
position: absolute;
left: 50%;
margin-left: -18.6px;
} .ui-navbar li .ui-btn-icon-top .ui-btn-inner { /* 设置文字距上边距离 */
padding-top: 38px;
} .ui-footer .ui-btn-text {/* 设置文字大小,及其宽度 */
font-size:14px;
font-weight: 100;
} /* 设置自定义图标 */
.ui-icon-custom_home_normal {
background: url(../image/home_normal.png) no-repeat scroll 50% 50% / 40px 40px transparent;
} .ui-icon-custom_message_normal {
background: url(../image/message_normal.png) no-repeat scroll 50% 50% / 40px 40px transparent;
} .ui-icon-custom_traffic_normal {
background: url(../image/traffic_normal.png) no-repeat scroll 50% 50% / 40px 40px transparent;
} .ui-icon-custom_find_normal {
background: url(../image/find_normal.png) no-repeat scroll 50% 50% / 40px 40px transparent;
}
/* 设置空白图标 */
.ui-icon-none {
filter:alpha(opacity=0);
-moz-opacity:0;
-khtml-opacity: 0;
opacity: 0;
}
jQuery Mobile 自定义导航条图标的更多相关文章
- iOS11自定义导航条上移处理
image.png 在自定义导航条时,通常会继承系统的UINavigationBar,但如上图,在iOS11上,导航条改动了.自定义导航条代码 -(MBNavigationBar *)myNavBar ...
- 利用js和JQuery定义一个导航条菜单
利用js和JQuery定义一个导航条 效果: 一.html代码: <div class="Maintenance"> <div class="Title ...
- jquery mobile 自定义图标
Jquery Mobile框架包含了一组最常用的移动应用程序所需的图标,为了减少下载的大小,Jquery Mobile包含的是的白色的图标sprite图片,并自动在图标后添加一个半透明的黑圈以确保在任 ...
- JQuery Mobile - 自定义图标!
环境 jquery1.9.1.js jquery mobile 1.4.2版 图标制作 18x18px 底透明的png图标 使用图标,这个过程开始怎么弄都不行,只有个灰色的圆出现,不见图标:或者出现图 ...
- HTML5开发移动web应用—JQuery Mobile(2)-导航栏和页脚
导航栏部分的代码一般放置在data-role为header的div的内. <div data-role="header"> <a href="#&quo ...
- React Native中自定义导航条
这是2017年年初开始的公司的项目,对于导航条的要求很高,Android和iOS上必须用一致的UI,按钮位置还有各种颜色都有要求,而且要适应各种奇葩要求. 尝试了一下当时React Native自带的 ...
- jQuery Mobile 自定义按钮图标
自定义css样式---红色部分必须加上 .ui-icon-user-black:after {background:url('../image/user-black.png') no-repeat 0 ...
- iOS7新特性-完美解决iOS7关于自定义导航条UIBarButtonItem偏移的问题
前言: 本文由DevDiv社区@Vincent 原创,转载请注明出处! http://www.devdiv.com/iOS_iPhone-ios_ios_uibarbuttonitem_-thread ...
- 可自定义导航条功能案例ios项目源码
可定制的navigationitem ,当我们使用系统的方法设置navigationItem的leftItem或者rightItem时,我们会 发现item位置会有偏差(左边的偏右,右边的偏左).当设 ...
随机推荐
- 有根树的表达 Aizu - ALDS1_7_A: Rooted Trees
有根树的表达 题目:Rooted Trees Aizu - ALDS1_7_A A graph G = (V, E) is a data structure where V is a finite ...
- Bootstrap+Ajax+HTML 动态表格分页
1.HTML页面:(bootstrap的模态框) 触发模态框: <div class="col-lg-6"> <div class="input-g ...
- 详解linux io flush
通过本文你会清楚知道 fsync().fdatasync().sync().O_DIRECT.O_SYNC.REQ_PREFLUSH.REQ_FUA的区别和作用. fsync() fdatasync( ...
- C# 笔记 获取程序当前目录
在C#中,我们有以下几种方式获取程序当前目录: Console.WriteLine(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssem ...
- 在Python中写入文件时,权限被拒绝错误
我想创建一个文件并在python中写一些整数数据.例如,我有一个变量abc = 3,我试图将它写入一个文件(它不存在,我假设python将自己创建): fout = open("newfil ...
- js 可迭代对象
作用:可以简化使用循环语句初始化一个变量记录迭代位置的操作 function createIterator(iterms) { let i = 0 return { next() { let done ...
- windows10图形化连接CentOS7
前提:CentOS已经安装图形化,安装教程可以百度 [root@localhost ~]# cat /etc/redhat-release CentOS Linux release (Core) 安装 ...
- hashRouter and BrowserRouter
<html><body> <div> <button class="btn" onclick="btnFun();"& ...
- go语言从例子开始之Example12.func函数
函数 是 Go 的中心.我们将通过一些不同的例子来进行学习. Example: package main import "fmt" //定义一个函数使用关键字func //函数名名 ...
- 一、创建且运行JPA工程
1. 创建JPA 工程 (1)选择创建 JPA Project,注意不是Java Project (2)JPA version选择 2.0 (3)选择用户库,否则会出现 At least one us ...