显示有误

博客园 首页 新随笔 联系 订阅 管理

2016年10月18日 #

摘要: .backToTop { display: none; width: 18px; line-height: 1.2; padding: 5px 0; background-color: #000; color: #fff; font-size: 12px; text-align: center; p 阅读全文
posted @ 2016-10-18 14:18 显示有误 阅读(616) 评论(0) 推荐(0) 编辑

摘要: .icon { display: inline-block; width:20px; height:20px; background: url(delete.png) no-repeat center; white-space:nowrap; letter-spacing: -1em; text-i 阅读全文
posted @ 2016-10-18 14:00 显示有误 阅读(1138) 评论(0) 推荐(0) 编辑

2016年10月14日 #

摘要: 每逢大的灾难的时候,很多网站变成了灰色,如何让网站快速变灰?css代码是很简单的,用的是css的filter功能。 html { filter: grayscale(100%);//IE浏览器 -webkit-filter: grayscale(100%);//谷歌浏览器 -moz-filter: 阅读全文
posted @ 2016-10-14 14:53 显示有误 阅读(99) 评论(0) 推荐(0) 编辑

2016年10月9日 #

摘要: <html><head> <meta charset="UTF-8"></head><style> div{float:left;margin:0 40px;} #div1{ width:0; height:0; border-top:40px solid black; border-left:40 阅读全文
posted @ 2016-10-09 15:03 显示有误 阅读(103) 评论(0) 推荐(0) 编辑

2016年10月8日 #

摘要: <!doctype html><html><head><meta charset="utf-8"><title>图片无缝滚动</title><style type="text/css">*{margin:0;padding:0;list-style:none;}#box{width:600px;he 阅读全文
posted @ 2016-10-08 11:26 显示有误 阅读(145) 评论(0) 推荐(0) 编辑

2016年9月26日 #

摘要: 图片上传: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www 阅读全文
posted @ 2016-09-26 15:29 显示有误 阅读(386) 评论(0) 推荐(0) 编辑

2016年9月20日 #

摘要: <!Doctype html><html> <head> <title></title> <meta charset="utf-8" /> </head> <style type="text/css">.zxx_exp{display:block; color:#34538b; margin-top 阅读全文
posted @ 2016-09-20 11:28 显示有误 阅读(1955) 评论(0) 推荐(0) 编辑

摘要: function getElementsByClassName(node,classname){ if(node.getElementsByClassName){ return node.getElementsByClassName(classname); }else{ var results=ne 阅读全文
posted @ 2016-09-20 10:54 显示有误 阅读(172) 评论(0) 推荐(0) 编辑

摘要: function getStyle(obj,name){ if(obj.currentStyle) { return obj.currentStyle[name]; } else { return getComputedStyle(obj,false)[name]; }}var timer=null 阅读全文
posted @ 2016-09-20 10:34 显示有误 阅读(151) 评论(0) 推荐(0) 编辑

2016年9月19日 #

摘要: js代码: function isMouseLeaveOrEnter(e, handler) { var reltg=e.relatedTarget?e.relatedTarget:e.type=='mouseout'?e.toElement:e.fromElement; while (reltg 阅读全文
posted @ 2016-09-19 16:26 显示有误 阅读(1549) 评论(0) 推荐(0) 编辑