-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcss_test.css
More file actions
130 lines (101 loc) · 1.65 KB
/
Copy pathcss_test.css
File metadata and controls
130 lines (101 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/**
css 练习
css : external, internal, inline
external: <link> .css file
internal: <style> tag between <body>
inline: use the style attribute
**/
/*flexbox*/
@charset "utf-8";
@import "variable";
.container {
display: flex;
}
.item {
order: 5;
}
.container {
flex-direction: row | row-reverse | column | column-reverse;
}
.item {
flex-grow: 4;
}
.container {
flex-flow: column wrap;
}
.item {
flex-basis: | auto;
}
.container {
justify-content: flex-start;
}
.item {
align-self: auto | flex-start;
}
/*
root 来定义颜色
*/
:root {
--blue: #007bff;
--purple: #6f42c1;
--primary: #007bff;
}
/*
root define font size: normal, huge
*/
:root {
--wp--preset--font-size--normal: 16px;
--wp--preset--font-size-huge: 42 px;
}
/*pseudo::before ::after*/
*,::after,::before {
box-sizing: border-box;
}
html,body,div {
margin: 0;
padding:0;
}
.table-box {
width: 100%;
overflow: auto;
margin-bottom: 14px;
-webkit-overflow-scrolling: touch;
}
table {
width: 100%;
overflow:auto;
margin-bottom:14px;
-webkit-overflow-scrolling:touch;
}
table {
margin: 30px 0;
width: 700px;
thead{
tr{
border-bottom: 2px solid $content-text;
}
}
tbody{
tr{
border-bottom: 1px solid $content-text;
&:last-child: none;
}
}
}
th{
text-align:center;
}
tr{
td{
text-align: center;
padding: 8px 0;
font-size:20px;
line-height:30 px;
color: $content-text;
}
}
cite{
font-style:normal;
font-size: 15px;
line-height:28px;
}