摘要:
.backToTop { display: none; width: 18px; line-height: 1.2; padding: 5px 0; background-color: #000; color: #fff; font-size: 12px; text-align: center; p 阅读全文
2016年10月18日 #
摘要:
.icon { display: inline-block; width:20px; height:20px; background: url(delete.png) no-repeat center; white-space:nowrap; letter-spacing: -1em; text-i 阅读全文
2016年10月14日 #
摘要:
每逢大的灾难的时候,很多网站变成了灰色,如何让网站快速变灰?css代码是很简单的,用的是css的filter功能。 html { filter: grayscale(100%);//IE浏览器 -webkit-filter: grayscale(100%);//谷歌浏览器 -moz-filter: 阅读全文
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 阅读全文
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 阅读全文
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 阅读全文
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 阅读全文
摘要:
function getElementsByClassName(node,classname){ if(node.getElementsByClassName){ return node.getElementsByClassName(classname); }else{ var results=ne 阅读全文
摘要:
function getStyle(obj,name){ if(obj.currentStyle) { return obj.currentStyle[name]; } else { return getComputedStyle(obj,false)[name]; }}var timer=null 阅读全文
2016年9月19日 #
摘要:
js代码: function isMouseLeaveOrEnter(e, handler) { var reltg=e.relatedTarget?e.relatedTarget:e.type=='mouseout'?e.toElement:e.fromElement; while (reltg 阅读全文