<head> <style> .adModal{ position:fixed; background: black; top: 0; right: 0; bottom: 0; left: 0; z-index: 998; opacity: 0.4; } .tdModal{ position:fix ...
分类:
其他好文 时间:
2020-07-18 19:50:38
阅读次数:
67
在web前端开发过程中,UI设计师经常会设计一些带渐变文字的设计图,在以前我们只能用png的图片来代替文字,今天可以实现使用纯css实现渐变文字了。下面就介绍3中实现方式供大家参考! 基础样式: .gradient-text{text-align: left;text-indent:30px;lin ...
分类:
Web程序 时间:
2020-07-18 11:27:54
阅读次数:
77
1.<iframe></iframe>标签 iframe(inner frame)为内联框架,iframe元素是可以创建包含另外一个文档的行内框架,是body 的子集 常用属性: width 设置内联框架的宽度 height 设置内联框架的高度 name 设置框架的名称 src 设置页面内容的路径 ...
分类:
Web程序 时间:
2020-07-18 11:17:39
阅读次数:
77
主从复制和GITD复制区别 1.在主从复制环境中,主库发生过的事务,在全局都是由唯一GTID记录的,更方便Failover 2.额外功能参数(3个) 3.change master to 的时候不再需要binlog 文件名和position号,MASTER_AUTO_POSITION=1; 4.在复 ...
分类:
其他好文 时间:
2020-07-17 14:07:42
阅读次数:
61
字符串方法: length:返回字符串的长度 var txt = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; var sln = txt.length; indexOf():返回字符串中指定文本首次出现的索引位置; var str = "The full name of China ...
分类:
Web程序 时间:
2020-07-17 13:43:21
阅读次数:
93
v2f vert(a2v v){ //return UnityObjectToClipPos(v); v2f f; f.position = UnityObjectToClipPos(v.vertex); //return UnityObjectToClipPos(v.vertex); //f.te ...
分类:
编程语言 时间:
2020-07-16 21:55:36
阅读次数:
72
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Now your job is to find the total ...
分类:
其他好文 时间:
2020-07-16 12:06:09
阅读次数:
75
plt.plot()绘制线性图 绘制单条线形图 绘制多条线形图 设置坐标系的比例plt.figure(figsize=(a,b)) 设置图例legend() 设置轴的标识 图例保存 fig = plt.figure() plt.plot(x,y) figure.savefig() 曲线的样式和风格( ...
分类:
其他好文 时间:
2020-07-16 00:16:39
阅读次数:
75
步骤 1 : 一个div始终贴在下方 首先把蓝色div设置为相对定位然后把内部的绿色div设置为绝对定位, bottom: 0表示贴在下面 <style> #div1 { position: relative; height: 300px; width: 90%; background-color: ...
分类:
Web程序 时间:
2020-07-15 23:43:28
阅读次数:
92
1.plot(?,?) 第一个参数为函数的参数 第二参数是函数表达式 2.subplot(?,?,?) 前两个参数表示将plot窗口分割成?x ? 比如1x2表示 1行2列 能够横向并排放置两个函数图像 3.legend(?,...?) n个字符串参数代表plot窗口中n条函数分别的标签 4.xla ...
分类:
其他好文 时间:
2020-07-15 23:18:45
阅读次数:
120