<style type="texts">.*{ margin:0; padding:0; }.father{ position:relative; width:600px; height:400px; background:#F96; margin:50px auto; } .box1,.box2, ...
分类:
其他好文 时间:
2020-12-05 11:10:03
阅读次数:
6
相对定位与绝对定位的练习 .father{ width:600px; height:400px; background:#F63; margin:50px auto; position:relative; } .box1,.box2,.box3,.box4{ width:80px; height:6 ...
分类:
Web程序 时间:
2020-12-04 11:47:25
阅读次数:
23
background: 在项目目录内, 右键空白地方右键菜单 command: "C:\Program Files\JetBrains\IntelliJ IDEA 2020.1.1\bin\idea64.exe" "%V" shell: 右键点击项目目录 右键菜单 command: "C:\Prog ...
分类:
其他好文 时间:
2020-12-04 11:26:37
阅读次数:
6
一、桌面右键方式 1、Win+R 输入 regedit 进入注册表 2、找到HKEY_CLASSES_ROOT-Directory-Background-shell新建 Typro 3、默认值改为 Open Typora 4、新建 字符串值 ,名称为 Icon 值为应用执行文件所在位置 5、在Typ ...
weakref模块主要的作用:就是一种弱类型的应用,使用此类型,内存管理不再以传统计数器的次数来实现内存的回收,而是通过单独开辟的内存来存储实例的对象,然后通过指针地址引用的方式,实现对象的调用,使用完成后,GC马上回收内存,从而达到高效回收内存,提高效率。 一、常用的方法有两种 weakref.W ...
分类:
编程语言 时间:
2020-11-30 15:56:38
阅读次数:
7
css中,在.swiper-pagination-bullet-active{}中修改就ok。 默认样式为: .swiper-pagination-bullet-active { background-color: #e8561a; width: 20px; border-radius: 20px; ...
分类:
其他好文 时间:
2020-11-27 11:33:41
阅读次数:
7
代码如下: <style> *{ margin: 0; padding: 0; } html,body{ width: 100%; height: 100%; } body{ background:#1e1e1f; overflow:hidden; } .box{ width: 100%; heig ...
分类:
其他好文 时间:
2020-11-27 10:58:16
阅读次数:
6
盒子的六个属性:1·width属性 2.height属性 3.内边距(padding)4.边距(border)5.外边距(margin)6.背景属性(background) 垂直居中的条件:单行文字垂直居中,行高等于高度值 当行高小于高度,文字偏上;当行高大于高度,文字偏下。 盒模型的宽度=左外边距 ...
分类:
其他好文 时间:
2020-11-26 14:08:53
阅读次数:
5
.ys{ font-weight: 600; font-size: 16px; font-family: "黑体"; color: #8c888b; background: -webkit-linear-gradient(45deg, #70f7fe, #fbd7c6, #fdefac, #bfb5 ...
分类:
Web程序 时间:
2020-11-24 12:44:17
阅读次数:
12
给当前页面的最外层div class 加样式 /deep/ html, .home { position: fixed; height: 100%; width: 100%; background-color: #658ea9 !important; } 这是效果 ...
分类:
其他好文 时间:
2020-11-20 11:36:45
阅读次数:
25