摘要:昨天接到客户反馈,iOS 设备上链接要点击两次才跳转,解决办法如下: 确保你的HTML页面添加了以下头部代码: <meta name="viewport" content="width=device-width, initial-scale=1"/> 修改触发事件 $("#xxxx").on('cl
阅读全文
随笔分类 - HTML5/CSS3
摘要:text-overflow:ellipsis;overflow:hidden; <p v-text="voice.name" style="display:inline-block;width:5rem;text-overflow:ellipsis;overflow:hidden;"></p>
阅读全文
摘要:<!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title></title> <meta charset="utf-8" /> <style> b
阅读全文
摘要:方法1: <html> <head> <title></title> <script language="javascript" type="text/javascript"> window.onload = function() { var div = document.getElementByI
阅读全文
摘要:在同一个页面,多个 datagrid查询使用同个元素来展示时,存在分页页数缓存 相互 影响覆盖的问题,比如: 第一个 datagrid 查询,翻页到第10页,然后在点击按钮,查询第二个 datagrid,这是第二个datagrid也会查询第10页,而不是查询第1页!!!! 解决方法:需要重置页码:
阅读全文
摘要:讨厌的自动填充背景色: 解决方法: <style type="text/css"> input:-internal-autofill-selected { background-color: white !important; background-image: none !important; c
阅读全文
摘要:html5开发之viewport使用
阅读全文
摘要:如何挑选适合的前端框架
阅读全文
摘要:利用javascript模拟placeholder效果
阅读全文
摘要:target,_self,_blank
阅读全文