摘要: 假设环境 配置账号一 生成ssh密钥 github网站配置 在相应的.ssh目录下会生成名为id_rsa私钥文件和id_rsa.pub公钥文件, 打开id_rsa.pub公钥文件,复制里面的公钥添加到gitLab的添加SSH秘钥处。 在命令行中复制id_rsa.pub公钥文件然后黏贴到gitLab的 阅读全文
posted @ 2018-09-11 17:54 carol72 阅读(420) 评论(0) 推荐(0) 编辑
摘要: <!-- 弹性盒模型--box 1.注意在使用弹性盒模型的时候,父级必须要加 display:box或者display:inline-box flex: display:flex box: display:-webkit-box 2.box-orient定义盒模型的主轴方向 flex: flex-d 阅读全文
posted @ 2018-02-26 17:55 carol72 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 文件结构 HTML <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,user-scalable=no" /> <title></title> 阅读全文
posted @ 2018-02-22 10:51 carol72 阅读(272) 评论(0) 推荐(0) 编辑
摘要: HTML <div id="div1"> <img src="img/big.jpg"/> <span></span> <div class="mark"></div> </div> <div id="div2"> <img src="img/big.jpg"/> </div> CSS #div1{ 阅读全文
posted @ 2018-02-09 16:41 carol72 阅读(92) 评论(0) 推荐(0) 编辑
摘要: HTML <input type="button" value="1" /> <input type="button" value="2" /> <input type="button" value="3" /> <!--<div class="login"> <div class="title"> 阅读全文
posted @ 2018-02-07 10:35 carol72 阅读(131) 评论(0) 推荐(0) 编辑
摘要: <div id="div1"></div> <div id="div2"></div> <div id="div3"></div> CSS #div1{ width: 100px; height: 100px; background: red; position: absolute; } #div2 阅读全文
posted @ 2018-02-05 16:05 carol72 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 一、拷贝继承 1.什么是继承 在原有对象的基础上,略作修改,得到一个新的对象 不影响原有对象的功能 子类不影响父类,子类可以继承父类的一些功能(代码复用) 2.如何添加继承 属性:call 方法:for in (一)属性的继承 //属性的继承:调用父类的构造函数,用call改变this指向 func 阅读全文
posted @ 2018-02-02 11:48 carol72 阅读(252) 评论(0) 推荐(0) 编辑
摘要: 一,JS是基于原型的对象 //最基本的面向对象写法 //创建构造函数 function Aaa(){ this.name='小明'; } //构造方法 Aaa.prototype.showName=function(){ alert(this.name); } //使用 //创建实例 var a1= 阅读全文
posted @ 2018-01-31 17:43 carol72 阅读(105) 评论(0) 推荐(0) 编辑
摘要: HTML <div id="div"></div> CSS #div{ width: 50px; height: 50px; background: red; position: absolute; left: 0; top: 0; } JS /*oDiv.onmousedown=function( 阅读全文
posted @ 2018-01-30 16:17 carol72 阅读(195) 评论(0) 推荐(0) 编辑
摘要: HTML CSS JS 阅读全文
posted @ 2018-01-26 11:52 carol72 阅读(108) 评论(0) 推荐(0) 编辑