自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(14)
  • 收藏
  • 关注

转载 Sass学习

1. 变量(Variables)store information that you want toreuse throughout your stylesheet.①变量声明使用$当变量定义在css规则块内或其他任何{...}内,那么该变量只能在此规则块内使用②变量引用css生成时,变量会被它们的值所替代;在声明变量时,变量值也可以引用其他变量;变量名可以包括中划线和下划线,这两种方式的命名互通(用中划线声明的变量可以使用下划线的方式引用,反之亦然);(也包括对混合器和Sas.

2022-05-25 15:16:16 159

转载 【React理论学习】

Most React components are pure functions, meaning they receive an input and produce a predictable output of JSX.given the same input, it will always return the same output.benifits of pure function: predictable, reliable, and easy to test.

2022-05-09 08:40:18 65

原创 expression vs statement

你不知道的JavaScript(下)

2022-05-07 08:53:43 201

原创 遍历的方法

数组字符串

2022-04-21 19:00:57 60

原创 暂未找到原因

1. 字符串是有序还是无序?

2022-04-21 08:43:32 52

原创 【文档阅读笔记】for of

定义:The for...of statement creates a loop iterating over iterable objects, including: built-in String, Array, array-like objects (e.g., arguments or NodeList), TypedArray, Map, Set, and user-defined iterables. It invokes a custom iteration hook(自定义迭代钩子) w

2022-04-12 09:10:35 52

原创 【整理】数组的方法

一些数组的方法

2022-04-12 08:47:47 46

原创 【JS高级概念】学习内容整理—JS引擎

JS引擎做了什么Interpreter翻译器Compiler编辑器

2022-04-11 22:36:57 45

原创 【学习整理】BFC

BFC(Block Formatting Context)

2022-04-09 09:54:28 220

原创 【学习整理】CSS样式优先级

优先级 示例 1 !important color: red !important; 2 行内/内联 style="color: red;" 3 内嵌 <style>...</style> 4 外联 <link rel="stylesheet" href="XX.css"> 优先级 选择器 示例 1 ID选择器(ID Selector) #id {color: r

2022-04-09 09:42:49 341

原创 变量提升 Hoisting

(1) var 变量、函数、类声明提升,初始化之前默认值为undefined。(2) let const 声明提升,初始化之前没有默认值,此时使用会报错。"ReferenceError: Cannot access 'x' before initialization."(3) 不声明直接初始化,没有提升,在初始化之前访问会报错。"ReferenceError: x is not defined." 初始化之后可以正常使用。var 声明的全局变量是window对象的属性,let不是...

2022-04-06 19:05:15 351

转载 【阅读笔记】【MDN-function】

函数实际上是Function对象。(function(){}).constructor === Function返回true。直接调用此构造函数可以动态创建函数,Function 构造函数创建的函数只能在全局作用域中运行。Function constructor和函数声明之间的区别时期实例属性Function.prototype.name 函数名称Function.prototype.length 函数期望的参数数量Function.prototype.arguments ...

2022-04-05 21:42:29 119

原创 【思考】【JS】【let与for循环】【函数提升】

var arr = []; for (let i = 0; i < 2; i++) { arr[i] = function () { console.log(i); } } arr[0](); // 使用var,则输出2;使用let则输出0 arr[1](); // 使用var,则输出2;使用let则输出0 console.log(win.

2022-04-05 21:06:31 384

原创 文章归类及目录

页面1(首页):页面2(编辑页):

2022-04-01 19:03:31 86

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除