摘要: 无标题文档  点击 阅读全文
posted @ 2016-07-26 11:11 danydong 阅读(138) 评论(0) 推荐(0) 编辑
摘要: <script> if(document.location.href.indexOf('.htm')>-1){ document.write('<meta http-equiv="refresh" content="0; url=http://www.cnblogs.com/danydong/">' 阅读全文
posted @ 2016-07-26 11:10 danydong 阅读(114) 评论(0) 推荐(0) 编辑
摘要: *html{background-image:url(null:void);background-attachment:fixed;}/* 去除ie6 抖动代码 */.ptn{position:fixed; left:50%; margin-left:478px; top: 106px; _posi 阅读全文
posted @ 2016-07-26 11:04 danydong 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 单行超出隐藏: display: block; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; 多行超出隐藏: overflow : hidden; text-overflow: ellipsis; display: - 阅读全文
posted @ 2016-07-26 10:59 danydong 阅读(108) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript"> $(document).ready(function(){ $(".menu a").each(function(i){ $(this).click(function(){ $(".menu a").removeClass("on"). 阅读全文
posted @ 2016-07-26 10:56 danydong 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 蚂蚁部落 文字竖排虽然不常用,但是并不是没有这方面的需求,但是现有的CSS属性支持度都不高或者兼容性不好。 阅读全文
posted @ 2016-07-26 10:52 danydong 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 一、 -webkit-font-smoothing: antialiased;//让页面里的字体变清晰 -webkit-user-select: none;//手机文本不可选中-webkit-appearance: none;//去除按钮默认样式-webkit-tap-highlight-color 阅读全文
posted @ 2016-07-26 10:46 danydong 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-26 10:43 danydong 阅读(117) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-07-26 10:41 danydong 阅读(299) 评论(0) 推荐(0) 编辑
摘要: steps用法 简单地说,就是原本一个状态向另一个状态的过渡是平滑的,steps可以实现分布过渡。steps用法 : steps(n,[start | end]) n是一个自然数,steps函数把动画分成n等份。 step-start 等同于 steps(1,start) ,动画分成 1 步,动画执 阅读全文
posted @ 2016-07-26 10:33 danydong 阅读(681) 评论(0) 推荐(0) 编辑
摘要: iPhone4 :640 *960 / 320 *480iPhone4 微信:640 *832 / 320 *416iPhone5 :640 *1136 / 320 *568iPhone5 微信:640 *1008 / 320 *504iPhone6 :750 *1334 / 375 *667iPh 阅读全文
posted @ 2016-07-26 10:30 danydong 阅读(1033) 评论(0) 推荐(0) 编辑