<body> <div id="box"> </body> <script type="text/javascript"> class A { constructor() { this.box = document.getElementById("box"); //获取父节点 this.img = ...
分类:
其他好文 时间:
2020-07-27 23:33:37
阅读次数:
97
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title></title> <style> body{ perspective: 1000; perspective-origin: 0,0; /*translateZ() 于此连用*/ } ...
分类:
Web程序 时间:
2020-07-27 17:46:48
阅读次数:
96
#效果预览 本博客使用的点击特效就是这个,为了避免部分浏览器不支持(目前已知Edge浏览器不支持该特效),还是弄一张gif上来。 #实现代码 把下面的代码放在<body></body>中即可 <script src="https://blog-static.cnblogs.com/files/ast ...
分类:
其他好文 时间:
2020-07-27 15:52:27
阅读次数:
72
思路是: 我们不能直接对元素本身进行模糊处理,就对一个伪元素进行处理,然后将其定位到元素的下层,它的背景将会无缝匹配body的背景。margin-20px是用来扩大边距,因为模糊会在边缘减弱。 演示地址:http://www.sdfymj.com/invest/ 代码如下: body,main::b ...
分类:
Web程序 时间:
2020-07-27 14:00:32
阅读次数:
98
第一步:开启表格的高亮显示配置属性。highlight-current-row 第二步:全局引入css /* 用来设置当前页面element全局table 选中某行时的背景色*/ .container .el-table__body tr.current-row>td{ background-col ...
分类:
其他好文 时间:
2020-07-27 13:46:55
阅读次数:
167
题目来源: http://codeforces.com/problemset/problem/122/A Petya loves lucky numbers. Everybody knows that lucky numbers are positive integers whose decimal ...
分类:
其他好文 时间:
2020-07-27 13:40:27
阅读次数:
64
通过heml去部署Loki,要先安装heml: 1 2 3 4 5 6 7 8 wget https://get.helm.sh/helm-v2.16.9-linux-amd64.tar.gz tar -xf helm-v2.16.9-linux-amd64.tar.gz -C /usr/local ...
分类:
其他好文 时间:
2020-07-27 09:47:12
阅读次数:
148
1)案例需求 使用 Flume 采集服务器本地日志,需要按照日志类型的不同,将不同种类的日志发往不同的分析系统。 2)需求分析 在实际的开发中,一台服务器产生的日志类型可能有很多种,不同类型的日志可能需要发送到不同的分析系统。此时会用到 Flume 拓扑结构中的 Multiplexing 结构,Mu ...
分类:
Web程序 时间:
2020-07-26 23:24:13
阅读次数:
106
doomTree 将jhtml结构按树的方式挂起来(深度优先原则,先看左侧,再看右侧) html head body title meta div p a csstree 当domtree形成后,会形成一个与domtree相类似的csstree doomtree+csstree=randertree ...
分类:
其他好文 时间:
2020-07-26 22:53:57
阅读次数:
65