1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
-
- <style>
-
-
-
-
-
-
- .shapeClass {
- width: 60px;
- height: 40px;
- border-radius: 5px;
- }
- .colorClass {
- background-color: bisque;
- border: 1px solid yellowgreen;
- color: red;
- }
- .fontClass {
- font-size: 22px;
- font-family: '隶书';
- }
- button {
- padding: 5px 16px;
- background-color: #f0f0f0;
- border: none;
- border-radius: 4px;
- transition: background-color 0.3s ease;
- }
- button:active {
- background-color: #007bff;
- color: white;
- }
- </style>
- </head>
- <body>
-
-
- <input id="btn1" class="shapeClass colorClass fontClass" type="button" value="按钮1" />
- <br />
- <br />
- <input id="btn2" class="shapeClass" type="button" value="按钮2" />
- <br />
- <br />
- <input id="btn3" class="fontClass" type="button" value="按钮3" />
- <br />
- <br />
- <button id="btn4">按钮</button>
- </body>
- </html>
|