Blogger Information
becauses
Blog
11
fans
0
comment
0
visits
5784
integral:0
P beans:22
  • List of blog posts
  • js事件/dom操作/定时

    事件属性(event在事件方法中总是可用的) onclick 单击 按钮2function setBg(ele){ document.body.style.backgroundColor='wheat'; ele.style....

    2022-01-06 22:37 Read 411 comment 0
  • js闭包/类创建/解构赋值

    闭包(1.父子函数 2.子函数调用了父函数中的变量)function f2(){ let a = 1; return function (){ retrun (a = a + 1); }}const f = f2();console.lo...

    2022-01-06 19:59 Read 405 comment 0
  • js流程控制/方法简化/函数参数过多过少处理

    流程控制顺序:(默认)分支:单分支,双分支,多分支 单分支if(condition){...}双分支if(condition){...}else{...}(condition) ? ... : ... ;多分支 if(condition){ ......

    2022-01-05 22:39 Read 714 comment 0
  • js函数类型/匿名函数

    数据类型原始类型数字类型number 123字符串类型stringphp布尔类型booleantrueundefined类型undefinedundefinednull(显示的是object类型)null引用类型数组arrayconst arr = ...

    2022-01-05 19:55 Read 459 comment 0
  • js命名规范/声明变量常量/作用域

    JS命名规范标识符: 代码中有意义的符号, 例如: 变量, 函数等标识符有二类: 系统标识符: 关键字, 保留字, 是JS提供给开发者, 直接拿来用,不需要声明自定义标识符: 必须 “先声明, 再使用”, 例如 email, password, ge...

    2021-12-29 23:51 Read 426 comment 0
  • 移动布局/grid布局

    移动布局 布局视图:网页的宽度视觉视图:移动设备看到的宽度width=device-width[width:页面布局的宽度|device-width:视觉视图的宽度,设备宽度]initial-scale=1.0[1:1还原视觉视图的布局]设计稿750...

    2021-12-29 23:14 Read 771 comment 0
  • 定位登录页面/flex布局

    定位 position:relative; 相对定位position:absolute;绝对定位position:fixed;固定定位 登录页面*{ padding:0; margin:0; box-sizing:border-bo...

    2021-12-28 22:36 Read 975 comment 0
  • css伪类/盒模型

    伪类分组结构伪类(nth-child会无视元素类型/nth-of-type不会) :first-of-type 第一个:nth-of-type(an+b) 第n个[可以-n][even双数][odd单数] a*n+b:nth-last-of-type...

    2021-12-25 22:33 Read 412 comment 0
  • css样式来源/选择器

    css样式来源 默认样式行内样式 style=””文档样式 外部样式 style.css 选择器基本选择器 [属性]# id. class* 通配符上下文选择器> 子元素 只选择一代空格 所有后代+ 相邻兄弟~ 所有兄弟 css权重 最高级:!imp...

    2021-12-24 00:13 Read 349 comment 0
  • 表格课程表/表单登录

    课程表

    2021-12-22 23:51 Read 369 comment 0
  • html快捷键/属性/标签学习

    vscode html快捷键 # id属性 div#id. class属性 div.class\^ 上级 div^p> 下级 div>p+ 同级 div+div* 多少个 li*3\$ 序号生成 li.item$*3\@ 跳过或者倒叙 li.item...

    2021-12-21 22:54 Read 498 comment 0
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!