- 博客(9)
- 收藏
- 关注
转载 HTTP状态码 304 页面未修改
以下内容转载:http://www.cnblogs.com/kakafra/archive/2013/01/04/2845048.html HTTP状态码 304 页面未修改 功能:304页面未修改 自从上次请求后,请求的网页未修改过。服务器返回此响应时,不会返回网页内容。 如果网页自请求者上次请求后再也没有更改过,您应将服务器配置为返回此响应(称为 If-Modified-Sin
2015-09-09 20:30:20
1771
原创 transitions / animation 动画
div{ background: #ccc; 首先自己本身要有默认的 transition:background 1s linear; 多个可以用,号分开 可以用transform } div:hover{ background: red 后面再写改变之后的样子 } 实例文字 二:animation d
2015-09-07 15:07:47
369
原创 transform属性
一:基础: /*旋转 缩放(1是正常) 倾斜,移动(先水平,后垂直)*/ div{ width: 300px; margin: 150px auto; background: #00aaff; text-align: center; /* transform:rotate(45deg); --webkit-transform: ro
2015-09-07 14:09:47
381
原创 CSS3的布局学习
1.flex弹性盒子模型布局 2.多列布局 3.媒体查询 4.响应式图片 一:弹性盒子模型 分为弹性容器,弹性子元素,主轴,侧轴。 弹性容器常有的属性: flex-direction 设置主轴的方向 row column row-reverse column-reverse flex-wrap 超出时是否折行 wrap nowrap flex-flow 上面两个的复合属性 ju
2015-09-06 23:08:00
323
原创 关于flex实现左右结构
*{ margin: 0; padding: 0 } body,html{ height: 100% } ul{ list-style: none; display: -webkit-box; display: -webkit-flex; -webkit-flex-flow:row nowrap; justify-co
2015-09-06 21:34:18
1531
原创 三种排序方式
//选择排序 function xuanzepaixu() { var min/*最小项的索引*/, tmp; for (var out = 0; out < a.length - 1; out++) {//比较的次数是length-1 min = out; for (v
2015-09-06 16:31:46
339
原创 js--window关闭事件
window.onbeforeunload=function(){ return '您哎呦数据未保存' } 谷歌 火狐
2015-06-11 21:09:19
439
原创 jquery实现的流式布局
.main{ width: 1200px; border: 1px solid orange; position: relative; margin: 10px auto; } .box{ float: left; pad
2015-06-11 14:58:34
854
原创 angular directive中scope:{}
{{greeting.text}} {{greeting.text}} {{t}} bookStoreDirectives.directive('test',function(){ return { restrict:'AE', scope:{}, template:'{{greeting.text}}' } }
2015-05-24 12:11:56
467
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅