上一页 1 2 3 4 5 6 7 8 9 10 ··· 12 下一页
摘要: 方法一: 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)
摘要: 网上转载 阅读全文
posted @ 2018-05-07 13:40 ▍凉城空巷° 阅读(637) 评论(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)
摘要: <!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)
摘要: var oHeight = $(document).height(); //屏幕当前的高度 $(window).resize(function () { if ($(document).height() < oHeight) { $("#next").css("display", "none"); 阅读全文
posted @ 2018-04-26 17:41 ▍凉城空巷° 阅读(222) 评论(0) 推荐(0)
摘要: 换图的方法 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)
摘要: <!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)
摘要: if(/Android|webOS|iPhone|iPod|BlackBerry/i.test(navigator.userAgent)) { 如果是手机或者iPod等执行。 }else{ 电脑执行。 }; 阅读全文
posted @ 2018-02-06 17:10 ▍凉城空巷° 阅读(146) 评论(0) 推荐(0)
摘要: <!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)
摘要: 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 下一页