摘要: var timeOutEvent=0;//定时器 // html <div @touchstart="gotouchstart" @touchmove="gotouchmove" @touchend="gotouchend"></div> //js gotouchstart(){ let that 阅读全文
posted @ 2019-10-15 15:37 浅蓝的天空 阅读(12545) 评论(1) 推荐(0) 编辑
摘要: 加上一句css代码 style="text-decoration:line-through" 阅读全文
posted @ 2017-04-12 14:15 浅蓝的天空 阅读(777) 评论(0) 推荐(0) 编辑
摘要: /* html5doctor.com Reset Stylesheet v1.4.1 2010-03-01 Author: Richard Clark - http://richclarkdesign.com */ html, body, div, span, object, iframe, h1, 阅读全文
posted @ 2016-07-12 09:15 浅蓝的天空 阅读(445) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta name="renderer" content="webkit"/> <me 阅读全文
posted @ 2016-07-11 15:07 浅蓝的天空 阅读(1283) 评论(0) 推荐(0) 编辑
摘要: <style> .li{line-height:30px;overflow:hidden;width:200px;height:30px;text-align:justify;text-align-last:justify;border:1px solid black;} .li:after{dis 阅读全文
posted @ 2016-07-08 16:33 浅蓝的天空 阅读(276) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html > <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=e 阅读全文
posted @ 2016-07-08 10:38 浅蓝的天空 阅读(16339) 评论(1) 推荐(2) 编辑
摘要: <script type="text/javascript"> var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS 阅读全文
posted @ 2016-06-23 09:42 浅蓝的天空 阅读(186) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> //判断访问终端 var browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; return { trident: 阅读全文
posted @ 2016-06-22 11:41 浅蓝的天空 阅读(176) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width,initi 阅读全文
posted @ 2016-05-05 14:57 浅蓝的天空 阅读(346) 评论(0) 推荐(0) 编辑
摘要: HTML5[5]:在移动端禁用长按选中文本功能 在手机浏览器中,长按可选中文本,但如果在应用中,会给人一种异样的感觉,最好还是禁用此功能为上。 * { -webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:n 阅读全文
posted @ 2016-04-28 11:58 浅蓝的天空 阅读(708) 评论(0) 推荐(0) 编辑