摘要:
var timeOutEvent=0;//定时器 // html <div @touchstart="gotouchstart" @touchmove="gotouchmove" @touchend="gotouchend"></div> //js gotouchstart(){ let that 阅读全文
摘要:
加上一句css代码 style="text-decoration:line-through" 阅读全文
摘要:
/* html5doctor.com Reset Stylesheet v1.4.1 2010-03-01 Author: Richard Clark - http://richclarkdesign.com */ html, body, div, span, object, iframe, h1, 阅读全文
摘要:
<!DOCTYPE html><html><head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=Edge"/> <meta name="renderer" content="webkit"/> <me 阅读全文
摘要:
<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 阅读全文
摘要:
<!DOCTYPE html > <html > <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=e 阅读全文
摘要:
<script type="text/javascript"> var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS 阅读全文
摘要:
<script type="text/javascript"> //判断访问终端 var browser={ versions:function(){ var u = navigator.userAgent, app = navigator.appVersion; return { trident: 阅读全文
摘要:
<!DOCTYPE HTML><html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><meta name="viewport" content="width=device-width,initi 阅读全文
摘要:
HTML5[5]:在移动端禁用长按选中文本功能 在手机浏览器中,长按可选中文本,但如果在应用中,会给人一种异样的感觉,最好还是禁用此功能为上。 * { -webkit-touch-callout:none; -webkit-user-select:none; -khtml-user-select:n 阅读全文