1234567891011121314151617181920212223242526 |
- <!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>
- input {
- border: 1px solid #f00;
- /*
- 轮廓 outline 复合属性
- 1.none 取消轮廓
- 2.width style color;
- */
- outline: none;
- outline: 2px solid #00f;
- outline-width: 10px;
- outline-style: dotted;
- outline-color: aqua;
- }
- </style>
- </head>
- <body>
- <input type="text">
- </body>
- </html>
|