Skip to content

Commit 290845e

Browse files
committed
提交了一个公用css,包含了一个使用a标签创建按钮的类
1 parent 7980c6c commit 290845e

1 file changed

Lines changed: 43 additions & 0 deletions

File tree

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
/*
2+
* @Date : 2020-10-18 10:52:43
3+
* @Author : MemoryShadow
4+
* @LastEditors : MemoryShadow
5+
* @LastEditTime : 2020-10-18 10:53:11
6+
* @Description : 基础组件css样式
7+
*/
8+
9+
div.title {
10+
display: flex;
11+
}
12+
13+
a.button {
14+
display: flex;
15+
height: 30px;
16+
width: 80px;
17+
justify-content: center;
18+
align-items: center;
19+
border-radius: 5px;
20+
-moz-box-shadow: 2px 2px 11px #A8A8A8;
21+
-webkit-box-shadow: 2px 2px 11px #A8A8A8;
22+
box-shadow: 2px 2px 11px #A8A8A8;
23+
margin: 10px;
24+
}
25+
26+
a.button.enable {
27+
text-decoration: none;
28+
background-color: #4E71F2;
29+
color: #FFF;
30+
}
31+
32+
a.button.enable:hover {
33+
text-decoration: none;
34+
background-color: #6c89f3;
35+
color: #FFF;
36+
}
37+
38+
a.button.disable {
39+
text-decoration: line-through;
40+
background-color: #4d4d4d;
41+
color: #FFF;
42+
pointer-events: none;
43+
}

0 commit comments

Comments
 (0)