摘要: 选择器、属性及方法调用的配合使用: <style> #a{ width: 200px; height: 100px; background-color: red; } .b{ width: 200px; height: 100px; background-color: green; } .div1{ 阅读全文
posted @ 2017-07-27 20:44 WORSHIP亚萨 阅读(1098) 评论(0) 推荐(0)
摘要: 第一部分 <script> // <!--折纸:折多少次和珠穆朗玛峰一样高//1.一张纸的厚度是0.0001米,将纸对折,对折多少次厚度超过珠峰高度8848米-->// var depth = 0.0001; for(i=1;true;i++){ depth=depth*2 if(depth>884 阅读全文
posted @ 2017-07-27 13:14 WORSHIP亚萨 阅读(946) 评论(0) 推荐(0)