Seek the Name, Seek the Fame, POJ2752 description 给定一个长度为$n$ 的串,找出所有的$border$ \((n\le 400000)\) solution 直接用哈希模拟判断即可。 code #include<cstdio> #include<c ...
分类:
其他好文 时间:
2021-04-12 12:18:08
阅读次数:
0
1.仅水平居中: 1.1行内元素水平居中:text-align 1 <head> 2 <style> 3 #box { 4 width: 200px; 5 height: 200px; 6 border: 1px solid red; 7 /* 行内元素水平 */ 8 text-align: cen ...
分类:
其他好文 时间:
2021-04-12 12:06:07
阅读次数:
0
isset 判断变量是否已存在 empty 判断变量是否为空或为0 is_null 判断变量是否为NULL 变量emptyis_nullisset $a=”” true false true $a=null true true false var $a true true false $a=arra ...
分类:
Web程序 时间:
2021-04-10 13:35:23
阅读次数:
0
代码 # -*- coding: utf-8 -*- from PyQt5 import QtCore, QtWidgets from PyQt5.QtWidgets import QFrame, QApplication, QMainWindow import sys class Ui_MainW ...
分类:
其他好文 时间:
2021-04-10 13:08:17
阅读次数:
0
1.安装 npm install animate.css@3.7.2 --save 2.引入 main.js中: import animated from 'animate.css' Vue.use(animated) 3.使用 vue文件中: <!-- 直接使用animated中的动画class名 ...
分类:
其他好文 时间:
2021-04-10 12:54:36
阅读次数:
0
垂直外边距的重叠(折叠) 特性描述:在盒模型设置外边距时,相邻的垂直方向上,两个元素的外边距会发生重叠现象 兄弟元素 (1)兄弟元素间的相邻垂直外边距会取两者之间的较大值(两者都是正值) (2)特殊情况 - 如果相邻的外边距一正一负,则取两者的和 - 如果相邻的外边距都是负值,则取两者中绝对值较大的 ...
分类:
Web程序 时间:
2021-04-10 12:53:33
阅读次数:
0
每个存在于可访问性树中的元素都会被浏览器绘制成一个盒子。
每个盒子都可以看成由4部分组成,它们分别是 — **元素外边距(margin)**、**元素边框(border)**、**元素内边距(padding)**和**元素内容(content)**。 ...
分类:
Web程序 时间:
2021-04-09 13:39:42
阅读次数:
0
以下是针对移动端所设计的样式,如需pc端的请自行更改 window.onload = function(){ window.alert = function(msg, callback) { var div = document.createElement("div"); div.innerHTML ...
分类:
其他好文 时间:
2021-04-09 13:35:30
阅读次数:
0
目录 1. 什么是自动化测试 2. 为什么要进行自动化测试 3. 自动化测试的分类 3.1 整体的分类 3.2 自动化功能测试的分类 3.3 自动化性能测试 4. web 自动化条件和使用范围 5. web 自动化常用的工具 6. 元素的定位 6.1 为什么要学习元素定位 6.2 元素定位的工具或手 ...
分类:
Web程序 时间:
2021-04-09 13:34:38
阅读次数:
0
一、word-break的属性 1.MDN上展示的语法为: /* Keyword values(关键字值) */ word-break: normal; //使用默认的换行规则 word-break: break-all; //允许任意非CJK(Chinese/Japanese/Korean)文本间 ...
分类:
Web程序 时间:
2021-04-09 13:21:11
阅读次数:
0