9_基础样式-列表outline.html 617 B

12345678910111213141516171819202122232425262728293031
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <style>
  9. /* 列表样式 */
  10. ul{
  11. /* 去掉ul的点 */
  12. list-style: none;
  13. }
  14. /* input样式 */
  15. /* 获取焦点的时候得蓝色的框 */
  16. input{
  17. outline: none;
  18. }
  19. </style>
  20. </head>
  21. <body>
  22. <ul>
  23. <li>111</li>
  24. <li>111</li>
  25. </ul>
  26. <input type="text">
  27. </body>
  28. </html>