Jonathon!

2018年7月17日

Git bash命令

摘要: 1.最开始使用git的时候, git remote -v 查看远程仓库 报了一个错误fatal: not a git repository (or any of the parent directories): .git,因为没有初始化,初始化以后,问题就解决了: 2. 之后设置自己的用户名和e-m 阅读全文

posted @ 2018-07-17 22:00 Jonathon! 阅读(141) 评论(0) 推荐(0) 编辑

2018年7月15日

vscode常用快捷键

摘要: vs code 的常用快捷键 注释: a) 单行注释:[ctrl+k,ctrl+c] 或 ctrl+/ b) 取消单行注释:[ctrl+k,ctrl+u] (按下ctrl不放,再按k + u) c) 多行注释:[alt+shift+A] d) 多行注释:/** 移动行:alt+up/down 快速移 阅读全文

posted @ 2018-07-15 14:10 Jonathon! 阅读(753) 评论(0) 推荐(0) 编辑

2018年7月14日

宽高总结

摘要: window.innerHeight //浏览器窗口高度 window.innerWidth window.outerHeight //浏览器窗口外部高度(工具栏,滚动条) window.outerWidth 对于移动设备,window.innerWidth和window.innerHeight保存 阅读全文

posted @ 2018-07-14 22:38 Jonathon! 阅读(101) 评论(0) 推荐(0) 编辑