BFC是什么? 块格式化上下文(Block Formatting Context,BFC) 是Web页面的可视CSS渲染的一部分,是块盒子的布局过程发生的区域,也是浮动元素与其他元素交互的区域。 I know it when I see it 所以,虽然我不知道什么是BFC,但是写出样式,我就能知道 ...
分类:
其他好文 时间:
2020-12-18 12:57:58
阅读次数:
3
1.基本情况 队名:灰机灰啊灰 组长博客:卑微组长QAQ 前端github仓库:https://github.com/ElizzF/ccHub 后端github仓库:https://github.com/Dong351/softwork 2.项目汇报 1.过去一周完成的任务 文字描述:完善了收藏功能 ...
分类:
其他好文 时间:
2020-12-18 12:54:44
阅读次数:
3
我总结了Java数据比较主要有以下要点: 1.基本类型和基本类型对比; 2.基本类型和包装类型比较; 3.包装类型和包装类型比较; 4.”==“与”equal“比较方式; 5.[-128,127]与非[-128,127]范围的数据比较; 6.String包装类型的比较。 基本类型和基本类型对比 基本 ...
分类:
编程语言 时间:
2020-12-18 12:54:30
阅读次数:
2
1 promise.then(function(value) { 2 // success 3 }, function(error) { 4 // failure 5 }); then本质上是一个函数,因为then存在于对象之中,所以又叫做方法。将then当做一个函数就ok了。 then有两个参数, ...
分类:
其他好文 时间:
2020-12-18 12:46:53
阅读次数:
3
1.官网下载包splunk deb 2.安装 dpkg -i splunk-xx.deb 3. 设置用户名密码 cd /opt/splunk/bin ./splunk #设置登录用户名和密码 4.修改端口 ./splunk set web-port 8001 5.如果报错 vi /opt/splun ...
分类:
系统相关 时间:
2020-12-18 12:38:16
阅读次数:
3
获取元素 jQuery的基本设计思想和主要用法,就是选择某个网页元素,然后对其进行操作。 css选择器 $(document) 选择整个文档 $('#myId') 选择id为#id的网页元素 $('div.myClass') 选择class为myClass的选择器 $('input[name=min ...
分类:
Web程序 时间:
2020-12-18 12:36:50
阅读次数:
2
修改app.component.ts: @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.scss'], encapsulation:ViewEnc ...
分类:
Web程序 时间:
2020-12-18 12:26:17
阅读次数:
3
css background属性连写 依次的顺序为: background:color img_url repeat position / size 颜色, 地址, 平铺, 位置/size ...
分类:
其他好文 时间:
2020-12-18 12:25:39
阅读次数:
3
原因爬取某站: 则么试都没问题,代码提取没问题。 IP = response.xpath('//*[@class="mimvp-tbl free-proxylist-tbl"]/tbody/tr/td[2]//text()').extract() port = response.xpath('//* ...
分类:
其他好文 时间:
2020-12-18 12:12:27
阅读次数:
3
在《DarkMode(1):产品应用深色模式分析》提过,单纯反转是不行的。但是,把不需要反转的,在反转过来。或者用js,给想要反转的,加上反转样式,再对其他的做微调。这样个人觉得,开发成本是最低的@media(prefers-color-scheme:dark){//one.app{filter:invert(1)hue-rotate(180deg);img,button,.active{//fi
分类:
Web程序 时间:
2020-12-17 13:10:01
阅读次数:
6