摘要: 原理:css中的border属性的特殊性。 实心三角形: html5: <div id="mydiv"></div> css: #mydiv{ height: 0px; width: 0px; z-index: 1;/*这个与后面的空心三角形有关*/ border-left: 50px solid 阅读全文
posted @ 2019-08-30 15:09 努力~努力再努力~ 阅读(857) 评论(0) 推荐(0) 编辑
摘要: 效果: HTML: CSS: div#cover{ background: #000; position: absolute; left: 0px; top: 0px; width: 100%; filter: alpha(opacity=30); opacity: 0.3; display: no 阅读全文
posted @ 2019-08-28 15:10 努力~努力再努力~ 阅读(583) 评论(0) 推荐(0) 编辑
摘要: <input type="radio" name="a"/> <input type="radio" name="b"/> <input type="radio" name="c"/> </body> </html> <input type="radio" name="a"/> <input typ 阅读全文
posted @ 2019-08-28 14:59 努力~努力再努力~ 阅读(1169) 评论(0) 推荐(0) 编辑
摘要: Vue脚手2.x架环境搭建 一.环境搭建 1.安装node 去官网下载node安装包 傻瓜式安装 万一安装后终端没有node环境,要进行node环境变量的配置 可以通过node提供的npm包管理器安装vue脚手架 通过npm安装淘宝镜像cnpm,将nmp指令都修改为cnpm指令(npm instal 阅读全文
posted @ 2019-08-28 10:04 努力~努力再努力~ 阅读(494) 评论(0) 推荐(0) 编辑
摘要: 网站实现页面滚动相应位置后广告图片位置固定不变 JS部分: $(window).scroll(function(){ var $scroll=$(document).scrollTop(); console.log($scroll); if($scroll>2300){ $("div.mRs").a 阅读全文
posted @ 2019-08-28 10:01 努力~努力再努力~ 阅读(1763) 评论(0) 推荐(0) 编辑
摘要: 情况是这样的,现在远程有一个仓库,分支就一个,是master。然后我本地的仓库是从远程的master上clone下来的。大家都是clone下来,再在自己本地改好,再commit然后pull然后push,大家都是这么做的。那么现在问题来了: 1,那我本地这个也算是个分支?还是就是一个本地仓库? 答:本 阅读全文
posted @ 2019-08-09 14:04 努力~努力再努力~ 阅读(42358) 评论(4) 推荐(13) 编辑
摘要: 1.git提交的时候遇到: # Please enter the commit message for your changes. Lines starting with '#' will be ignored, and an empty message aborts the commit.的问题, 阅读全文
posted @ 2019-08-09 09:05 努力~努力再努力~ 阅读(4048) 评论(0) 推荐(1) 编辑
摘要: 鼠标悬停图片放大效果: img{ transition: all .6s; //过渡属性完成时间 } img:hover{ transform: scale(1.2); //放大倍数 } 鼠标悬停文字或者图片向左、向右移动: a:hover{ padding-left: 10px; 或者:margi 阅读全文
posted @ 2019-08-08 18:52 努力~努力再努力~ 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 一、Git配置环境: 1、通过git init命令把某个目录变成Git可以管理的仓库; 2、生成公钥秘钥:ssh key ssh-keygen -t rsa -C "for example@163.com"(邮箱) 3、在GitHub的Setting中配置公钥 3、 关联远程gith的用户名和邮箱 阅读全文
posted @ 2019-08-07 09:40 努力~努力再努力~ 阅读(2480) 评论(0) 推荐(0) 编辑
摘要: 当执行git命令如:git clone、git pull等等 出现报错:ssh: connect to host github.com port 22: Connection timed outfatal: Could not read from remote repository.Please m 阅读全文
posted @ 2019-08-02 11:34 努力~努力再努力~ 阅读(1660) 评论(0) 推荐(0) 编辑