摘要: 右箭头转为下箭头 { transform: rotate(90deg); } 右箭头转为上箭头 { transform: rotate(-90deg); } 右箭头转为左箭头 { transform: rotate(180deg); } 阅读全文
posted @ 2017-07-19 11:27 Sun_Song 阅读(2403) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <style type="text/css"> .backcolor{ background: #8A2BE2; } </style> <script src=" 阅读全文
posted @ 2017-07-14 18:11 Sun_Song 阅读(424) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title></title> <script src="js/jquery-1.4.1.js" type="text/javascript" charset="utf-8"></script> 阅读全文
posted @ 2017-07-14 18:09 Sun_Song 阅读(386) 评论(0) 推荐(0) 编辑
摘要: 给要点击的元素添加样式 { cursor: pointer; } 阅读全文
posted @ 2017-07-14 13:13 Sun_Song 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 给它外层table设置属性{ border-collapse:collapse; } 阅读全文
posted @ 2017-07-13 10:40 Sun_Song 阅读(1143) 评论(0) 推荐(0) 编辑
摘要: function getQueryString(name) { var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'); var r = window.location.search.substr(1).match(reg); if(r 阅读全文
posted @ 2017-07-08 13:21 Sun_Song 阅读(111) 评论(0) 推荐(0) 编辑
摘要: function isMobile() { if(/android/i.test(navigator.userAgent)) { //document.write("This is Android'browser.");//这是Android平台下浏览器 return true; } if(/(iP 阅读全文
posted @ 2017-07-08 13:20 Sun_Song 阅读(181) 评论(0) 推荐(0) 编辑
摘要: function comptime(beginTime) { var nowtime = (new Date).getTime(); endTime = nowtime; var secondNum = parseInt((endTime - beginTime * 1000) / 1000); / 阅读全文
posted @ 2017-07-08 13:19 Sun_Song 阅读(474) 评论(0) 推荐(0) 编辑
摘要: document.setTitle = function(t) { document.title = t; var i = document.createElement('iframe'); i.src = '//m.baidu.com/favicon.ico'; i.style.display = 阅读全文
posted @ 2017-07-08 13:19 Sun_Song 阅读(259) 评论(0) 推荐(0) 编辑
摘要: <div id="main"v-cloak> //加个v-cloak {{name}} </div> [v-cloak]{display: none;} //设置隐藏 阅读全文
posted @ 2017-07-01 14:10 Sun_Song 阅读(573) 评论(0) 推荐(0) 编辑