会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
▍凉城空巷°
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
···
12
下一页
2018年7月5日
mui弹窗input变成textarea
摘要: //css /*弹窗*/ .mui-popup-title { color: #E26602; font-size: 16px; } .mui-popup-button { color: #E26602; font-size: 15px; } .mui-popup-input { height: 1
阅读全文
posted @ 2018-07-05 17:54 ▍凉城空巷°
阅读(416)
评论(0)
推荐(0)
2018年7月4日
Swiper无法滑动
摘要: 初始化时候获取需要加载多少图片 var mySwiper = new Swiper('.swiper-container', { pagination: '.swiper-pagination', paginationClickable: true, longSwipesRatio: 0.3, to
阅读全文
posted @ 2018-07-04 16:46 ▍凉城空巷°
阅读(122)
评论(0)
推荐(0)
2018年6月13日
改变checkbox的样式(选项框中加图片)
摘要: input[type='checkbox'] { width: 20px; height: 20px; background-color: #fff; -webkit-appearance: none; border: 1px solid #c9c9c9; border-radius: 2px; o
阅读全文
posted @ 2018-06-13 21:49 ▍凉城空巷°
阅读(423)
评论(0)
推荐(0)
把mui对话输入弹窗的input改为textarea
摘要: document.getElementById("promptBtn").addEventListener('tap', function(e) { e.detail.gesture.preventDefault(); var btnArray = ['取消', '确定']; mui.prompt(
阅读全文
posted @ 2018-06-13 15:35 ▍凉城空巷°
阅读(354)
评论(0)
推荐(0)
2018年6月12日
mui轮播
摘要: <meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,yser-scalable=no"> //手机端 <link rel="stylesheet" href="css/mui.min.c
阅读全文
posted @ 2018-06-12 11:10 ▍凉城空巷°
阅读(122)
评论(0)
推荐(0)
用css改变radio样式
摘要: input[type="radio"] + label::before { content: "\a0"; /*不换行空格*/ display: inline-block; vertical-align: middle; width: 1em; height: 1em; margin-right:
阅读全文
posted @ 2018-06-12 09:02 ▍凉城空巷°
阅读(179)
评论(0)
推荐(0)
2018年5月31日
js单纯的倒计时
摘要: <div>倒计时<span id="ant">123</span>秒</div> window.onload = function () { var odiv = document.getElementById("ant"); var count = 60; odiv.innerText = cou
阅读全文
posted @ 2018-05-31 20:31 ▍凉城空巷°
阅读(65)
评论(0)
推荐(0)
2018年5月15日
点击图片背景音乐开始暂停,图片旋转停止
摘要: //css部分 .MusicImg { position: fixed; top: 2%; z-index: 999; width: 40px; height: 40px; right: 3%; -webkit-animation: rotateImg 1s linear infinite; ver
阅读全文
posted @ 2018-05-15 09:54 ▍凉城空巷°
阅读(1092)
评论(0)
推荐(0)
2018年5月14日
mui上下滑动
摘要: //引入 mui.min.css mui.min.js //body <div class="mui-scroll-wrapper"> <div class="mui-scroll"> </div> </div> //js mui('.mui-scroll-wrapper').scroll({ de
阅读全文
posted @ 2018-05-14 17:17 ▍凉城空巷°
阅读(550)
评论(0)
推荐(0)
2018年5月10日
mui中去掉li的下划线
摘要: 去掉最下面一条 .mui-table-view:after { position: absolute; right: 0; bottom: 0; left: 0; height: 0px; content: ''; -webkit-transform: scaleY(.5); transform:
阅读全文
posted @ 2018-05-10 09:44 ▍凉城空巷°
阅读(1670)
评论(0)
推荐(1)
上一页
1
2
3
4
5
6
7
8
9
···
12
下一页
公告