#
vincent
2020-05-29 7de49ef8ce09953fa250361180851d0f4d8273ce
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
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" type="text/css" href="../static/css/normalize.css">
    <link rel="stylesheet" type="text/css" href="../static/css/common.css">
    <style>
        html {
            height: 100%;
        }
        body {
            height: 100%;
            /*background-color: #007DDB;*/
        }
        #container {
            position: relative;
        }
        #box {
            position: absolute;
            top: 15px;
            left: 30px;
        }
 
        /* 按钮组 */
        .group .item {
            float: left;
            border-top: 2px solid #333;
            border-bottom: 2px solid #333;
            border-left: 1px solid #333;
            border-right: 1px solid #333;
        }
        .group .item:first-child {
            border-left: 2px solid #333;
        }
        .group .item:last-child {
            border-right: 2px solid #333;
        }
        button.item {
            padding: 1px 1px 1px 1px;
            width: 22px;
            height: 22px;
            outline: none;
            cursor: pointer;
            color: #333;
            background-color: transparent;
            transition: 0.4s;
        }
        button.item:hover {
            background-color: #333;
            color: #fff;
        }
 
    </style>
</head>
<body>
<div id="container">
    <div id="box">
        <div class="group">
            <button class="item">1</button>
            <button class="item">24</button>
            <button class="item">25</button>
            <button class="item">26</button>
            <button class="item">27</button>
            <button class="item">28</button>
        </div>
    </div>
</div>
</body>
</html>