m_step.css
2 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
/***************************************************
* feature : 商品详情页,阶梯价格;
* update : 2015/02/03;
* use : ;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
/***************************************************
* feature : 变量配置;
* update : 2015/02/05;
* use : ;
* extend : ;
* example : ;
* desc : ;
* feedback : 此处填入 issue, 并请附带以下信息[os_version, browser_version, page_path, issue_description]
* - demo => [windows 7, IE 8, http://diligrp.com/icon.html, 在不定height下未能垂直居中];
****************************************************/
.bg-img {
background: url('../../images/icon/icon.png') no-repeat;
background-size: 150px;
}
.m-step {
overflow: hidden;
position: relative;
padding: 12px 0;
}
.m-step:before,
.m-step:after {
content: '';
position: absolute;
left: 0;
right: 6px;
top: 50%;
height: 3px;
background-color: #ddd;
margin-top: -1px;
}
.m-step:after {
left: auto;
right: -4px;
border: 8px solid #ddd;
border-color: transparent transparent transparent #ddd;
background: none;
width: 0;
height: 0;
margin-top: -7px;
font-size: 0;
}
.m-step li {
float: left;
text-align: left;
padding: 0 5px;
position: relative;
min-width: 85px;
box-sizing: border-box;
}
.m-step li:before {
content: '';
position: absolute;
width: 7px;
height: 7px;
border: 2px solid #FFF;
background-color: #DDD;
font-size: 0;
overflow: hidden;
top: 50%;
margin-top: -5px;
border-radius: 50%;
box-shadow: 0 0 1px #ddd;
}
.m-step .text {
font-size: 14px;
color: #6c2;
display: block;
padding-bottom: 7px;
}
.m-step .desc {
font-size: 12px;
color: #999;
display: block;
padding-top: 7px;
}