上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 一、使用flex布局,要考虑兼容性问题: .parent { display: flex; justify-content:center; align-items:center; } 二、绝对定位 + transform: translate,要考虑兼容性问题: .parent { position 阅读全文
posted @ 2021-08-12 14:14 starlog 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 一、分类: CSS3中的盒模型有以下两种:标准盒子模型、IE盒子模型 二、组成: 盒模型都是由四个部分组成的,由外向内分别是margin、border、padding和content 三、标准盒模型和IE盒模型的区别: 标准盒模型和IE盒模型的区别在于设置width和height时,所对应的范围不同 阅读全文
posted @ 2021-08-12 11:52 starlog 阅读(184) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2021-08-12 10:17 starlog 阅读(367) 评论(0) 推荐(0) 编辑
摘要: 修改代理SSL: npm config set strict-ssl false 阅读全文
posted @ 2021-07-07 11:05 starlog 阅读(644) 评论(0) 推荐(0) 编辑
摘要: 安装babel-preset-env: cnpm i -D babel-preset-env 阅读全文
posted @ 2021-07-07 11:03 starlog 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 一、先卸载node-sass: npm uninstall node-sass 二、再安装node-sass: cnpm i -D node-sass 三、以管理员身份运行cmd,运行以下命令: set SASS_BINARY_PATH=D:\win32-x64-64_binding.node 阅读全文
posted @ 2021-07-07 10:55 starlog 阅读(711) 评论(0) 推荐(0) 编辑
摘要: 从高到低为: 运算符 描述 . [] () 字段访问、数组下标、函数调用以及表达式分组 ++ -- - ~ ! delete new typeof void 一元运算符、返回数据类型、对象创建、未定义值 * / % 乘法、除法、取模 + - + 加法、减法、字符串连接 << >> >>> 移位 < 阅读全文
posted @ 2021-06-12 00:31 starlog 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1.for in循环的是对象的key,for of循环的是对象的value,for of不能循环普通的对象 2.for in循环的是可枚举属性,for of循环的是可迭代对象 3.一般情况下,循环对象属性用for in,循环数组用for of 阅读全文
posted @ 2021-06-10 23:29 starlog 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 一、10进制转其他进制(如2进制): console.log(num.toString(2)) 二、其他进制(如2进制)转10进制: console.log(parseInt(num,2)) 阅读全文
posted @ 2021-06-10 23:18 starlog 阅读(81) 评论(0) 推荐(0) 编辑
摘要: 1.以管理员身份运行cmd 2.查看指定端口占用情况 netstat -aon|findstr 8080 3.终止指定进程号的进程 taskkill /f /pid 4228 阅读全文
posted @ 2021-06-05 16:38 starlog 阅读(204) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页