相对定位与绝对定位的练习 .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
<?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" ...
分类:
移动开发 时间:
2020-12-04 11:32:09
阅读次数:
14
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-12-04 11:30:31
阅读次数:
12
FeatureeuerkaConsulzookeeperetcd 服务健康检查 可配支持 服务状态,内存,硬盘等 (弱)长连接,keepalive 连接心跳 多数据中心 — 支持 — — kv 存储服务 — 支持 支持 支持 一致性 — raft paxos raft cap ap cp cp cp ...
分类:
编程语言 时间:
2020-12-04 10:54:27
阅读次数:
8
代码如下: import random #四则运算 def t(): sym = ['+', '-', '×', '÷'] f= random.randint(0, 3) n1 = random.randint(1, 20) n2 = random.randint(1, 20) result = 0 ...
分类:
其他好文 时间:
2020-12-03 12:25:51
阅读次数:
10
tab栏模板 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Do ...
分类:
其他好文 时间:
2020-12-03 11:58:41
阅读次数:
5
canvas初体验: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <titl ...
分类:
其他好文 时间:
2020-12-02 12:48:54
阅读次数:
25
1 <?xml version="1.0" encoding="utf-8"?> 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" 3 android:layout_width="match_pare ...
分类:
其他好文 时间:
2020-12-02 12:21:59
阅读次数:
4
严格按照https://developer.mozilla.org/zh-CN/docs/Learn/CSS/Building_blocks学习 一.层叠与继承 1.冲突规则: CSS扩写:Cascading Style Sheets (cascade 有层叠的意思) 层叠:一边来说写在后面的规则会 ...
分类:
Web程序 时间:
2020-12-01 12:39:36
阅读次数:
10
1.主动换行 在pycharm中的80个字符的分割线之前,主动换行 不要设置自动换行,尽量自己主动换行 2.合理使用括号去实现隐式连接 if (width == 0 and height == 0 and color == 'red' and emphasis == 'strong'): 3.使用圆 ...
分类:
编程语言 时间:
2020-12-01 12:27:22
阅读次数:
7