摘要: CSS: .column-title { color: #9b9b9b; text-shadow: 1px 1px #d4d4d4;}.column-title:hover { color: #5a5a5a; text-shadow: none;}@media all and (-webkit-mi 阅读全文
posted @ 2016-04-28 11:42 SKILL·NULL 阅读(421) 评论(0) 推荐(1)
摘要: JS获取浏览器宽高的兼容写法: var w = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth;var h = window.innerHeight || document. 阅读全文
posted @ 2016-04-26 17:08 SKILL·NULL 阅读(1056) 评论(0) 推荐(0)
摘要: HTML: <button type="button" id="showHidden">点击切换div的隐藏与显示</button> <div id="div1">请叫我第一层</div> <div id="div2">请叫我第二层</div> JS: <script type='text/java 阅读全文
posted @ 2016-04-21 11:14 SKILL·NULL 阅读(13134) 评论(1) 推荐(0)
摘要: HTML: <input type="file" style="display:none" id="addfile-btn"> <div onclick="addfile()">点击上传图片</div> JS: <script> function addfile() { document.getEl 阅读全文
posted @ 2016-04-20 14:29 SKILL·NULL 阅读(2751) 评论(0) 推荐(1)
摘要: 按钮点击显示隐藏层(再次点击按钮则隐藏层关闭): HTML部分: <button type="button" id="show" onclick="showHidden()">点我显示隐藏层</button> <div id="hidden" style="display:none">我是隐藏层。< 阅读全文
posted @ 2016-04-13 19:42 SKILL·NULL 阅读(950) 评论(0) 推荐(0)
摘要: 注意:background属性中的背景图片和颜色混合,只能在一个background属性中。属性值:background-blend-mode: normal; //正常 background-blend-mode: multiply; //正片叠底 background-blend-mode: s 阅读全文
posted @ 2016-03-25 12:28 SKILL·NULL 阅读(629) 评论(0) 推荐(0)
摘要: 阿里云服务器出现Warning: Cannot modify header information - headers already sent by (output started at 问题的解决方法: 首先查看header("Content-type:text/html;charset=utf 阅读全文
posted @ 2016-01-11 15:30 SKILL·NULL 阅读(494) 评论(0) 推荐(0)
摘要: 清除Windows桌面快捷方式小箭头,需要重启,且不会导致软件无法锁定到任务栏。新建.reg的注册表文件,命名随意,内容如下: Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\lnkfile]"IsShortcut"="" [HKEY_ 阅读全文
posted @ 2016-01-11 09:54 SKILL·NULL 阅读(267) 评论(0) 推荐(0)
摘要: js部分: <!--自动更新时间--><script>function show(){var date = new Date(); //日期对象var now = "";now = date.getFullYear()+"年"; //读英文就行了now = now + (date.getMonth( 阅读全文
posted @ 2016-01-08 14:26 SKILL·NULL 阅读(2303) 评论(0) 推荐(0)
摘要: <!doctype html> <html lang="zn-CN"> <head> <meta http-equiv="content-type" content="charset=UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edg 阅读全文
posted @ 2015-12-24 15:27 SKILL·NULL 阅读(257) 评论(0) 推荐(0)