会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
▍凉城空巷°
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
2018年5月8日
改变placeholder颜色的两种方法
摘要: 方法一: input::-webkit-input-placeholder { /* WebKit browsers */ color: red; } input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */ color: red; } input
阅读全文
posted @ 2018-05-08 15:50 ▍凉城空巷°
阅读(506)
评论(0)
推荐(0)
2018年5月7日
微信小程序开发错误代码
摘要: 网上转载
阅读全文
posted @ 2018-05-07 13:40 ▍凉城空巷°
阅读(637)
评论(0)
推荐(0)
2018年5月4日
后台输出的数据进行字符判断,小数点后边是0不显示,不是0显示
摘要: var memberprice = item.JSON_memberprice; var array = memberprice.split('.'); var array1 = parseInt(array[0]); var array2 = parseInt(array[1]); if (arr
阅读全文
posted @ 2018-05-04 15:16 ▍凉城空巷°
阅读(366)
评论(0)
推荐(0)
2018年5月3日
判断input内的字符是不是数字或字母
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <input type="text" id="mInput" /> <div onclick="btn()">确定</div> </b
阅读全文
posted @ 2018-05-03 14:45 ▍凉城空巷°
阅读(270)
评论(0)
推荐(0)
2018年4月26日
手机端底部按钮隐藏与显示
摘要: var oHeight = $(document).height(); //屏幕当前的高度 $(window).resize(function () { if ($(document).height() < oHeight) { $("#next").css("display", "none");
阅读全文
posted @ 2018-04-26 17:41 ▍凉城空巷°
阅读(222)
评论(0)
推荐(0)
2018年4月20日
CSS改变checkbox样式
摘要: 换图的方法 input[type='checkbox'] { width: 20px; height: 20px; background-color: #fff; -webkit-appearance: none; border: 1px solid #c9c9c9; border-radius:
阅读全文
posted @ 2018-04-20 16:59 ▍凉城空巷°
阅读(130)
评论(0)
推荐(0)
js小数取整 小数保留两位
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> </head> <body> <div id="aa">12.00</div> <div id="bb">12.666</div> </body></html> <
阅读全文
posted @ 2018-04-20 11:48 ▍凉城空巷°
阅读(218)
评论(0)
推荐(0)
2018年2月6日
如何判断打开页面时使用的设备?
摘要: if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { 如果是手机或者iPod等执行。 }else{ 电脑执行。 };
阅读全文
posted @ 2018-02-06 17:10 ▍凉城空巷°
阅读(146)
评论(0)
推荐(0)
2018年1月12日
H5 拖放实例
摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> #div1 { width: 300px; height: 150px; padding: 10px; border
阅读全文
posted @ 2018-01-12 16:07 ▍凉城空巷°
阅读(136)
评论(0)
推荐(0)
2018年1月4日
根据手机系统引入不同的css文件
摘要: var browser = { versions: function () { var u = navigator.userAgent, app = navigator.appVersion; return { //移动终端浏览器版本信息 ios: !!u.match(/\(i[^;]+;( U;)
阅读全文
posted @ 2018-01-04 17:23 ▍凉城空巷°
阅读(421)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
9
10
···
12
下一页
公告