File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ <html lang="en">
3+
4+ <head>
5+ <meta charset="UTF-8">
6+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
7+ <title>拨打电话按钮</title>
8+ <style>
9+ body {
10+ font-family: Arial, sans-serif;
11+ display: flex;
12+ justify-content: center;
13+ align-items: center;
14+ height: 100vh;
15+ margin: 0;
16+ background-color: #f4f4f9;
17+ }
18+
19+ .call-button {
20+ display: inline-block;
21+ padding: 15px 30px;
22+ background-color: #28a745;
23+ color: white;
24+ text-decoration: none;
25+ border-radius: 5px;
26+ font-size: 18px;
27+ transition: background-color 0.3s ease;
28+ }
29+
30+ .call-button:hover {
31+ background-color: #218838;
32+ }
33+ </style>
34+ </head>
35+
36+ <body>
37+ <!-- 请将下面的电话号码替换为你实际需要的号码 -->
38+ <a href="tel:1234567890" class="call-button">点击拨打电话</a>
39+ </body>
40+
41+ </html>
You can’t perform that action at this time.
0 commit comments