2016年5月13日

transition与animation区别(transform/transition/animation属性汇总)

摘要: 为便于记忆,针对transform、transition、animation属性汇总如下: rotate(angle) angle(可正可负) transform:rotate(45deg) transform:rotate(-60deg) transition-property: none | < 阅读全文

posted @ 2016-05-13 15:08 WebPure 阅读(236) 评论(0) 推荐(0)

2016年5月11日

margin的合并

摘要: --本文margin合并的前提是未对元素设置过float、position 元素本身在标准文档流中 首先,margin的合并(前提二个以上的margin)是发生在纵向上的,也就是说,margin的合并只会发生在垂直方向,水平方向设置的margin是不会发生合并的现象的。 上代码: <!doctype 阅读全文

posted @ 2016-05-11 14:29 WebPure 阅读(916) 评论(0) 推荐(0)

如何实现浏览器兼容版的inline-block显示

摘要: display:inline-block兼容的问题,网上的答案最多的就是: display:inline-block; *display:inline; *zoom:1; 知其然知其所以然,那么为什么要这么做。在IE浏览器中,元素有一个haslayout属性(haslayout只能被触发,不能修改为 阅读全文

posted @ 2016-05-11 09:52 WebPure 阅读(575) 评论(0) 推荐(0)

2016年3月28日

上传文件到github

摘要: 最近想上传文件到github存放。菜鸡的我遇到了不少问题,终于成功上传github成功。记录成功上传的步凑,以便日后查看。 第一步,注册github的用户,下载git安装。 第二步,连接github仓库,需要建立SSH key;首先检查下本地有没有SSH,如下: 输入ssh-keygen -t rs 阅读全文

posted @ 2016-03-28 12:08 WebPure 阅读(205) 评论(0) 推荐(0)

导航