一、用法 1、行间式 2、写在head里面的style标签里面 3、新建一个.css文件,用<link rel="stylesheet" href="a.css">引入 二、基础选择器 1、id选择器 2、类选择器 3、标签选择器 4、属性选择器 5、通配符选择器 三、复合选择器 1、子级选择器 选 ...
分类:
Web程序 时间:
2021-04-13 11:52:18
阅读次数:
0
第一种方法:在pom.xml文件中增加如下标签 1 <build> 2 <resources> 3 <resource> 4 <directory>src/main/resource</directory> 5 <includes> 6 <include>**/*.xml</include> 7 < ...
分类:
其他好文 时间:
2021-04-13 11:47:23
阅读次数:
0
示例代码: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> #card{ width: 500px; height: 350px; } .title{ height ...
分类:
其他好文 时间:
2021-04-13 11:45:04
阅读次数:
0
1.定位position的取值: static:默认值,静态的 relative:相对定位 absolute:绝对定位 fixed:固定定位 sticky:粘性定位 既然是定位了,不同定位之间的区别是参考系不同 position:static 特点:默认的定位方式,元素不受top,buttom,le ...
分类:
Web程序 时间:
2021-04-13 11:40:23
阅读次数:
0
现在的大多数网站都有校验,以及信息提示:为了给用户更好的体验可以不用alert提示消息,采用jQuery提示完消息,自动消失。 CSS <style> #tip_message { z-index: 9999; position: fixed; left: 0; top: 40%; text-ali ...
分类:
Web程序 时间:
2021-04-12 12:47:55
阅读次数:
0
1、ElementUi3框架 npm i element3 -S 引入框架 --main.js import 'element3/lib/theme-chalk/index.css' import { createApp } from 'vue' import Element3 from 'elem ...
分类:
其他好文 时间:
2021-04-12 12:31:47
阅读次数:
0
src(同步的) 表示引入 浏览器遇到src通常会暂停解析过程,(加塞处理)并开始下载资源和资源处理,处理完成后再继续解析过程。 通常用于js脚本。 例外:img的src是异步下载的。 href(异步的) 表示引用 浏览器遇到href不会暂停解析过程,下载资源和资源处理将有其他并行线程完成 通常用于 ...
分类:
Web程序 时间:
2021-04-12 12:18:28
阅读次数:
0
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
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta http-e ...
分类:
其他好文 时间:
2021-04-12 11:50:30
阅读次数:
0