1.css基础样式.html 632 B

1234567891011121314151617181920212223242526
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Document</title>
  7. <style>
  8. input {
  9. border: 1px solid #f00;
  10. /*
  11. 轮廓 outline 复合属性
  12. 1.none 取消轮廓
  13. 2.width style color;
  14. */
  15. outline: none;
  16. outline: 2px solid #00f;
  17. outline-width: 10px;
  18. outline-style: dotted;
  19. outline-color: aqua;
  20. }
  21. </style>
  22. </head>
  23. <body>
  24. <input type="text">
  25. </body>
  26. </html>