09 2022 档案

摘要:css选择器包括: 通用选择器 * 标签选择器 标签名称 div { } 类选择器 .类名称 <div class="类名称1 类名称2"></div> ID选择器 #ID名称 <div id="ID名称"></div> 群组选择器 h1, .c1, #c2 逗号隔开 后代选择器 .box p 直接 阅读全文
posted @ 2022-09-26 20:47 逆风* 阅读(27) 评论(0) 推荐(0) 编辑
摘要:一.对象 是一组属性和方法的集合 一部手机:属性有颜色、尺寸、品牌、CPU、内存... 方法有打电话、玩游戏、看视频、听音乐、办公.... 一辆汽车:属性有颜色、品牌... 方法有代步、拉货.... 万物皆对象 1.JS对象分类 自定义对象:自己创建的对象 内置对象:JS提供的对象,可以直接使用 宿 阅读全文
posted @ 2022-09-11 08:50 逆风* 阅读(28) 评论(0) 推荐(0) 编辑
摘要:1.if语句 switch case 语句 if ( 条件表达式 ){ switch ( 表达式 ) { 语句块 case 值1: } else if (条件表达式 ){ break 语句块 case 值n : }else { break } } 如果if后的语句块中只有一行语句,则大括号可以省略 阅读全文
posted @ 2022-09-10 09:44 逆风* 阅读(24) 评论(0) 推荐(0) 编辑
摘要:二.操作网页元素 1.查找网页元素 给标签设置id属性,一个网页中id的值不能出现重复的 <button id="btn">按钮</button> 2.给按钮绑定事件,监听用户操作 btn.onclick=function(){ 点击事件 一旦监听到用户的操作,要执行的内容 } cont.onfoc 阅读全文
posted @ 2022-09-10 08:43 逆风* 阅读(156) 评论(0) 推荐(0) 编辑
摘要:网址大全 W3C school https://www.w3school.com.cn/ Bootstrap中文网 https://www.bootcss.com/ gitee https://gitee.com/ 前端study http://www.codece.com/ nodejs中文网 n 阅读全文
posted @ 2022-09-08 15:13 逆风* 阅读(17) 评论(0) 推荐(0) 编辑
摘要:1、push命令; 2、pull命令; 3、commit命令; 4、add命令; 5、checkout命令; 6、fetch/clone命令。 7、版本回退 git log 查看版本号(每次提交写描述便于回退) 找到目标版本号 git reset --hard 目标版本号 git push -f 提 阅读全文
posted @ 2022-09-07 15:16 逆风* 阅读(21) 评论(0) 推荐(0) 编辑
摘要:<style> .cot { overflow: hidden; -webkit-line-clamp: 2; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; } /* -webkit-line 阅读全文
posted @ 2022-09-06 22:26 逆风* 阅读(31) 评论(0) 推荐(0) 编辑
摘要:<style> .arrow { display: flex; justify-content: space-between; align-items: center; } .arrow::after { content: ''; width: 20px; height: 20px; border- 阅读全文
posted @ 2022-09-06 15:19 逆风* 阅读(71) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示