摘要: 分支 # 新建一个分支 ,与 指定的远程分支 建立 追踪关系 git branch --track [branch] [remote-branch] # 建立追踪关系,在现有分支与指定的远程分支之间 git branch --set-upstream [branch] [remote-branch] 阅读全文
posted @ 2021-05-17 15:13 晴很快乐 阅读(70) 评论(0) 推荐(0)
摘要: css初始化代码: 阅读全文
posted @ 2019-05-22 10:12 晴很快乐 阅读(222) 评论(0) 推荐(0)
摘要: 页面中添加样式: <style media="print"> @page { size: auto; /* auto is the initial value */ margin: 0mm; /* this affects the margin in the printer settings */ 阅读全文
posted @ 2019-04-18 16:52 晴很快乐 阅读(3006) 评论(0) 推荐(0)
摘要: 1、进入node官网,下载mac版node,在安装node时系统会一起安装npm 默认的 npm registry 会很慢,这时候我们一般改为淘宝的镜像,下面是使用方法: 淘宝 npm 地址: http://npm.taobao.org/ a:临时使用: npm --registry https:/ 阅读全文
posted @ 2019-02-23 12:36 晴很快乐 阅读(2381) 评论(0) 推荐(0)
摘要: 1、node.js官网下载node,并安装; 安装 2、window+R快捷键打开cmd npm config set prefix "D:\nodejs\node_global" npm config set cache "D:\nodejs\node_cache" 设置淘宝镜像: npm con 阅读全文
posted @ 2018-11-27 09:36 晴很快乐 阅读(2558) 评论(0) 推荐(0)
摘要: cursor样式: 1、questions:鼠标放上去没有cursor: not-allowed;禁用样式,虽然不能点击了 但鼠标还是箭头? answer:注释掉pointer-events:none; 阅读全文
posted @ 2018-11-16 10:32 晴很快乐 阅读(1214) 评论(0) 推荐(0)