会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
挥不去的执念
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2021年1月7日
网站页面变成灰色 表示哀悼
摘要: body{ filter:progid:DXImageTransform.Microsoft.BasicImage(graysale=1); -webkit-filter: grayscale(100%); } 网站页面变成灰色 表示哀悼
阅读全文
posted @ 2021-01-07 17:36 挥不去的执念
阅读(247)
评论(0)
推荐(0)
2020年11月17日
Echart中国地图按照华中、华北等设置所需的china.js文件
摘要: 需要china.js文件另存为本地,单独引用 (function (root, factory) { if (typeof define 'function' && define.amd) { // AMD. Register as an anonymous module. define(['exp
阅读全文
posted @ 2020-11-17 17:29 挥不去的执念
阅读(2176)
评论(0)
推荐(1)
echarts中国地图按照华中、华北、华东等设置
摘要: echarts中国地图按照华中、华北、华东等设置,完整代码附上 <!DOCTYPE html> <html style="height: 100%"> <head> <meta charset="utf-8"> </head> <body style="height: 100%; margin: 0
阅读全文
posted @ 2020-11-17 17:28 挥不去的执念
阅读(1944)
评论(0)
推荐(0)
2020年11月12日
js检测IE8浏览器及以下版本并做出提示
摘要: 使用原生js检测当前IE浏览器版本是否为IE8及以下浏览器版本并做出提示,代码如下: var DEFAULT_VERSION = 8.0; var ua = navigator.userAgent.toLowerCase(); var isIE = ua.indexOf("msie")>-1; va
阅读全文
posted @ 2020-11-12 13:31 挥不去的执念
阅读(554)
评论(0)
推荐(0)
判断页面首次访问,并跳转到其他网站
摘要: 判断页面首次访问,并跳转到太阳能路灯网站 1、首页访问页面时 window.name==""; 2、随后给其起名 window.name="人民大学在职研究生";(可以任意起名) 3、接下来当前窗口命名为人民大学在职研究生; 完整代码 <!DOCTYPE html> <html> <head> <t
阅读全文
posted @ 2020-11-12 10:34 挥不去的执念
阅读(266)
评论(0)
推荐(0)
2020年10月23日
uni-app新手调用api接口制作图文列表
摘要: 制作图文列表 <template> <view class="content"> <view class="page-section indexListBox"> <view class="indexList" v-for="(item , index) in homePosts" :key="in
阅读全文
posted @ 2020-10-23 15:49 挥不去的执念
阅读(1417)
评论(0)
推荐(0)
2020年9月25日
那些你总是记不住但又总是要用的css
摘要: 有没有经常遇到一些样式每次写都要用百度呢?我收集了一些我平时经常要用到的但又总是记不住的样式。 一、设置input 的placeholder的字体样式 input::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: red; }
阅读全文
posted @ 2020-09-25 15:34 挥不去的执念
阅读(142)
评论(0)
推荐(0)
2020年9月24日
display: table-cell;实现并列div高度保持一致
摘要: display: table-cell;实现并列div高度保持一致 <!DOCTYPE html> <html> <head> <title>并列div高度保持一致</title> <style type="text/css"> div{ border:2px solid red; width: 5
阅读全文
posted @ 2020-09-24 11:46 挥不去的执念
阅读(536)
评论(0)
推荐(0)
2020年9月23日
用定时器setInterval实现几秒后页面自动跳转的另一个页面
摘要: 用定时器setInterval实现几秒后页面自动跳转的另一个页面 <!DOCTYPE html> <html> <head> <title>用定时器实现几秒后页面自动跳转的另一个页面</title> <script src="/Scripts/jquery-1.8.3.min.js" type="t
阅读全文
posted @ 2020-09-23 17:25 挥不去的执念
阅读(772)
评论(0)
推荐(0)
2020年9月17日
鼠标悬停元素边框转动-六种
摘要: <!DOCTYPE html> <html> <head> <title></title> <style type="text/css"> div { background: none; border: 0; box-sizing: border-box; margin: 1em; padding:
阅读全文
posted @ 2020-09-17 13:28 挥不去的执念
阅读(181)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
下一页
公告