自适应iframe的高 <!-- frameborder :设置iframe的边框 scrolling:设置iframe的滚动条 src:设置iframe的路径 onload:要设置iframe的自适应,必须设置在行内标签,通过js设置的话是显示了之后才进行值的设置,并没有什么效果 --> <ifr ...
分类:
其他好文 时间:
2019-05-02 13:16:29
阅读次数:
118
#1 – Hacking Tutorial: Tech Tips and Hacking Tricks Sometimes, perfect English isn’t everything. Hacking Tutorial is an example of when the writing sk ...
分类:
Web程序 时间:
2019-04-20 09:59:17
阅读次数:
1125
引用于:https://capbone.com/wolfram-alpha/ 两张图证明 WolframAlpha 的强大 引用于:https://capbone.com/wolfram-alpha/ 两张图证明 WolframAlpha 的强大 引用于:https://capbone.com/wo ...
分类:
其他好文 时间:
2019-04-15 00:22:32
阅读次数:
194
四. (一)丶下拉框select元素:一般可以创建单选或多选菜单。<select>与<option>一般同时使用,select代表下拉框,option代表他的每一项。 1.基本结构: <select name=“”> <option></option> </select>1.select标签:定义下 ...
分类:
Web程序 时间:
2019-04-13 23:40:26
阅读次数:
197
在移动端中,现在使用系统的滚动条已经体验很好了,但发现对某个元素使用了overflow:scroll时,如果有滚动条,在里面滑动内容时会卡顿不流畅。· 今天推荐的这个CSS属性正是为ios而生,苹果自己的解释:指定是否在 overflow: scroll 的元素中使用“原生”的滚动方式 他包含两个可 ...
分类:
移动开发 时间:
2019-04-09 00:24:15
阅读次数:
232
/*iOS弹性滚动*/ .scrolling{ position: absolute; width: 100%; height:100%; overflow-x:hidden; overflow-y:auto; -webkit-overflow-scrolling: touch ;} /*解决ios... ...
分类:
Web程序 时间:
2019-03-27 00:15:28
阅读次数:
295
利用iframe <Iframe src="page1.html" width="250" height="200" scrolling="no" frameborder="0"></iframe> ...
分类:
其他好文 时间:
2019-03-18 11:43:46
阅读次数:
190
同这篇文章一样,用到了-webkit-overflow-scrolling: touch;属性。主要解决方案是在iframe外层添加一个div,然后设置-webkit-overflow-scrolling属性。 例如: MDN文档:https://developer.mozilla.org/zh-C ...
分类:
移动开发 时间:
2019-03-18 11:37:36
阅读次数:
196
任意门:http://acm.hdu.edu.cn/showproblem.php?pid=3292 No more tricks, Mr Nanguo Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 65535/32768 K (Java/ ...
分类:
其他好文 时间:
2019-03-17 23:48:07
阅读次数:
229