Css 知识点总结 css中选择器的权重大小: 通配符选择器(*)—— 0 标签选择器、伪元素选择器(::after ,::before)—— 1 类选择器、伪类选择器、属性选择器 —— 10 id选择器 —— 100 行内样式 —— 1000 !important —— 无穷 对于定义样式的三种方 ...
分类:
Web程序 时间:
2020-08-24 15:12:35
阅读次数:
82
前言 今天做接口对接时,发现对方竟然是通过XML进行数据传输,当时冒出的第一个想法就是:WTF,这都什么年代了,还在用XML,是来搞笑的吧,JSON它不香吗? 想法归想法,但对接还是要完成的是吧?然后看了下开发文档时间(2013年),那还是可以理解的嘛!(图片) 之前对XML一知半解,现在要用到了, ...
分类:
Web程序 时间:
2020-08-21 16:41:12
阅读次数:
116
int height(struct TreeNode* root) { if (root == NULL) { return 0; } else { return fmax(height(root->left), height(root->right)) + 1; } } bool isBalanc ...
分类:
其他好文 时间:
2020-08-19 19:58:57
阅读次数:
65
/*div { color: red; }*/ /*标签选择器 权重 0,0,0,1 小组长*/ div { color: pink!important; } /*类选择器 权重 0,0,1,0 班长*/ .one { color: blue; } /*id 选择器 权重 0,1,0,0 班主任*/ ...
分类:
Web程序 时间:
2020-08-13 12:22:08
阅读次数:
76
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="js/ ...
分类:
Web程序 时间:
2020-08-10 13:20:26
阅读次数:
93
直接贴代码了: ::v-deep .el-radio__label { width: 100% !important; text-overflow: ellipsis; white-space: normal; line-height: 18px; // word-wrap: break-word ...
分类:
其他好文 时间:
2020-07-30 22:11:29
阅读次数:
323
第1条 vector 的使用 第2条:字符串格式化的“动物庄园”之一:sprintf 第3条:字符串格式化的“动物庄园”之二:标准的(或极度优雅的)替代方案 第4条:标准库成员函数 第5条:泛型编程的风味之一:基础 第6条: 第7条: 第8条: 第9条: 第10条: 第11条: ...
分类:
编程语言 时间:
2020-07-30 18:09:21
阅读次数:
76
训练好model 可用如下代码打印特征以及重要度排序 #打印特征索引及其重要度 features_important = model.featureImportances print(features_important) #获取各个特征在模型中的重要性并按照权重倒序打印 ks = list(fea ...
分类:
编程语言 时间:
2020-07-28 13:56:08
阅读次数:
97
https://drive.google.com/drive/folders/13_vsxSIEU9TDg1TCjYEwOidh0x3dU6es https://www.cse.unsw.edu.au/~cs9313/20T2/slides/L8.pdf Mining Data Streams 1. ...
分类:
其他好文 时间:
2020-07-28 10:00:01
阅读次数:
68
假设在页面中使用了别人家的组件,或者是同事写的组件(总之是不熟悉的组件),假设要根据需求更改样式,则需要使用/deep/的方式来达成目的。 //.content:别人家的组件里的class //如果仅仅deep无效,则可能是优先级不够的原因,此时尝试在单个样式后补important的方法达成目的 / ...
分类:
移动开发 时间:
2020-07-28 09:59:50
阅读次数:
108