摘要: 滚动条 css3 阅读全文
posted @ 2018-05-24 18:14 卡西法儿 阅读(106) 评论(0) 推荐(0) 编辑
摘要: HTML <label> 标签的 for 属性 用处:项目中常有点击label标签自动勾选/取消radio的需求,之前都是js动态实现的啊啊啊,相见恨晚,23333 阅读全文
posted @ 2018-02-26 15:21 卡西法儿 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 因为浏览器识别不了es6的一些语法,所以我们写的代码需要处理成浏览器识别的语言,至于转换的这个工作就交给webpack来做了。 git:git@github.com:ghrGit/webpack001.git 1.先简单写几个待打包的文件 目录结构: a.js b.js app.js 为入口文件 2 阅读全文
posted @ 2017-11-13 14:58 卡西法儿 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1 2 3 4 5 6 7 8 9 36 54 55 56 57 cs 58 59 cs 60 cs 61 62 cscs 63 64 cscs 65 66... 阅读全文
posted @ 2016-10-24 15:14 卡西法儿 阅读(181) 评论(0) 推荐(0) 编辑
摘要: 注意在使用弹性盒模型的时候 父元素必须要加display:-webkit-box 或 display:-webkit-inline-box(为方便学习只写一种浏览器内核,项目中要写全) Box-orient 定义盒模型的布局方向 Horizontal 水平显示 vertical 垂直方向 box-d 阅读全文
posted @ 2016-02-17 11:31 卡西法儿 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 文字阴影text-shadow:x y blur color, …参数x 横向偏移y 纵向偏移blur 模糊距离color 阴影颜色文本阴影如果加很多层,会很卡 1 /*双重阴影*/ 2 p:nth-last-of-type(1){ 3 color:red; font-size:80px; font 阅读全文
posted @ 2016-02-17 11:11 卡西法儿 阅读(324) 评论(0) 推荐(0) 编辑
摘要: p[name]{background:red;} 只使用属性名p[name=ghr]{background:red;} 指定属性名,并指定了该属性的属性值p[name~=old]{background:red;}此属性值是一个词列表,并且以空格隔开,其中词列表中包含了一个value词p[name^= 阅读全文
posted @ 2016-02-17 10:58 卡西法儿 阅读(2885) 评论(0) 推荐(2) 编辑
摘要: OnClientClick 阅读全文
posted @ 2015-11-02 14:05 卡西法儿 阅读(253) 评论(1) 推荐(0) 编辑
摘要: 因为工作需要,这两天接触到了Uploadify插件,由于是第一次用,花了我近一天的时间。下面我把我在用这个插件过程详细的分享出来,也让自己巩固一下,也希望能帮助到你。所需文件:jquery-1.8.2.min.js (可以低版本)uploadify.cssswfobject.jsuploadify.... 阅读全文
posted @ 2013-11-21 14:57 卡西法儿 阅读(1501) 评论(0) 推荐(2) 编辑
摘要: js代码:var mySelect = document.getElementById("resultList2");var mySelectText = mySelect.options[mySelect.selectedIndex].text;html代码: 阅读全文
posted @ 2013-11-01 09:35 卡西法儿 阅读(298) 评论(0) 推荐(0) 编辑