摘要: 1 //按照对象的属性值排序 2 var person =[ 3 {name:'Zach',age:26,tag:1}, 4 {name:'Tom',age:29,tag:2}, 5 {name:'Kate',age:30,tag:3}, 6 {name:'Gates',age:31,tag:4}, 7... 阅读全文
posted @ 2016-05-20 19:50 ifIhaveWings 阅读(1233) 评论(0) 推荐(0) 编辑
摘要: 1.定位的内容宽度100%,然后又有margin,使总的宽度超过屏幕 2.position:relative的元素,宽度100%,然后又有left或者right数值,使总的宽度超过屏幕 3.办法是让总的宽度不要超过100% 阅读全文
posted @ 2016-05-20 18:21 ifIhaveWings 阅读(1589) 评论(0) 推荐(0) 编辑