上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: <style> .outer{ width:1000px; height:600px; background-color:#888; display:flex;//outer为伸缩容器。 } .inner{ width:200px; height:200px; background-color:sk 阅读全文
posted @ 2025-01-06 11:58 zhongta 阅读(19) 评论(0) 推荐(0)
摘要: 1.导航条 https://www.w3schools.com/css/css_navbar.asp https://www.w3schools.com/css/css_navbar_vertical.asp https://www.w3schools.com/css/css_navbar_hori 阅读全文
posted @ 2025-01-05 15:32 zhongta 阅读(9) 评论(0) 推荐(0)
摘要: When you specify CSS styles inside the @keyframes rule, the animation will gradually change from the current style to the new style at certain times. 阅读全文
posted @ 2025-01-04 11:48 zhongta 阅读(18) 评论(0) 推荐(0)
摘要: 1.Node Exports const sum=(x,y)=>x+y; const square=x=>x*x; const mean=data=>data.reduce(sum)/data.length; const stddev=d=>{ let m=mean(d); return Math. 阅读全文
posted @ 2024-12-29 16:50 zhongta 阅读(13) 评论(0) 推荐(0)
摘要: Icons can easily be added to your HTML page, by using an icon library. How To Add Icons The simplest way to add an icon to your HTML page, is with an 阅读全文
posted @ 2024-12-29 14:51 zhongta 阅读(16) 评论(0) 推荐(0)
摘要: 1.2d位移 2d位移可以改变元素的位置。具体使用方法如下 1.先给元素添加转换属性transform 2.编写transform的具体值 translate() translateX() translateY() 可以写长度值,百分比,百分比是相当于自身的长宽。 translate()移动元素,从 阅读全文
posted @ 2024-12-27 13:06 zhongta 阅读(16) 评论(0) 推荐(0)
摘要: 9.1 class 和prototype 自己定义函数并使用Object.create()函数就相当于定义了一个javascript类。 *[Symbol.iterator](){ for(let x=Math.ceil(this.from);x<=this.to;x++)yield x; } 上述 阅读全文
posted @ 2024-12-23 14:37 zhongta 阅读(12) 评论(0) 推荐(0)
摘要: 1.深度拷贝,使用clone()方法。 4.2.2 LocalDate Class 使用工厂方法创建对象 LocalDate now=LocalDate.now(); LOcalDate new YearsEve=LocalDate.of(1999,12,31) ; 调用方法获得年月日 int ye 阅读全文
posted @ 2024-12-22 15:03 zhongta 阅读(11) 评论(0) 推荐(0)
摘要: CSS查询网站 caniuse.com 构建工具 webpack 新增长度单位 vw 相当于视口宽度的百分比 vh 相当于视口高度的百分比 vmax 视口宽高较大值的百分比 rem根元素字体大小的倍数。 新增盒子 属性 box-sizing:content-box;//内容盒子 box-sizing 阅读全文
posted @ 2024-12-20 13:59 zhongta 阅读(13) 评论(0) 推荐(0)
摘要: 1.switch语句 switch(choice){ case 1-> ... case 2-> ... case 3-> ... case 4-> ... default-> System.out.println("Bad input"); } case的类型 char byte short in 阅读全文
posted @ 2024-12-16 14:34 zhongta 阅读(13) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页