随笔分类 -  html5

摘要:1 position:sticky 》 https://www.zhangxinxu.com/wordpress/2018/12/css-position-sticky/ 2 ex 与 x-height 》 https://www.zhangxinxu.com/wordpress/2015/06/a 阅读全文
posted @ 2018-12-13 15:31 a fine day
摘要:H5里面的App Cache是由开发Web页面的开发者控制的,而不是由Native去控制的,但是Native里面的WebView也需要我们做一下设置才能支持H5的这个特性。 写Web页面代码时,指定manifest属性即可让页面使用App Cache。通常html页面代码会这么写: xxx.appc 阅读全文
posted @ 2018-07-17 10:29 a fine day
摘要:1. 浏览器 目前有可观市场份额的浏览器有5个,分别是Internet Explorer、Firefox、Safari、Chrome和 Opera浏览器。 来看看市场份额占有率(2017年 9月): 2. 浏览器的主要组件 用户界面 - 包括地址栏、前进/后退按钮、书签菜单等。除了浏览器主窗口显示的 阅读全文
posted @ 2018-06-27 11:15 a fine day
摘要:在日常工作中常用的页面刷新方式的区别: 1 window.location.reload(false); 先说说window.location.reload(false);当我们window.location.reload();默认也是false; 它先会根据浏览器的http请求的头部 If-Mod 阅读全文
posted @ 2018-06-25 12:24 a fine day
摘要:table tbody { display:block; height:195px; overflow-y:scroll; } table thead, tbody tr { display:table; width:100%; table-layout:fixed; } 阅读全文
posted @ 2017-09-12 18:43 a fine day